using System; using System.Collections.Generic; using System.Runtime.CompilerServices; using Unity.UIWidgets.foundation; namespace UIWidgetsSample { public class PreviewImage : Equatable { /// Creates a preview image. public PreviewImage( string id, string uri) { this.id = id; this.uri = uri; } public override List props => new List{id, uri}; /// Unique ID of the image public readonly string id; /// Image's URI public readonly string uri; } }