Properties class

Implementers
Annotations
  • @Freezed(unionKey: 'category', fallbackUnion: 'unknown')

Constructors

Properties.audio({required List<File> files})
const
factory
Properties.fromJson(Map<String, dynamic> json)
factory
Properties.html({required List<File> files})
const
factory
Properties.image({required List<File> files})
const
factory
Properties.unknown()
const
factory
Properties.video({required List<File> files})
const
factory
Properties.vr({required List<File> files})
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult unknown(Unknown value), required TResult video(Video value), required TResult image(Image value), required TResult vr(Model3D value), required TResult audio(Audio value), required TResult html(Html value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? unknown(Unknown value)?, TResult? video(Video value)?, TResult? image(Image value)?, TResult? vr(Model3D value)?, TResult? audio(Audio value)?, TResult? html(Html value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult unknown(Unknown value)?, TResult video(Video value)?, TResult image(Image value)?, TResult vr(Model3D value)?, TResult audio(Audio value)?, TResult html(Html value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult unknown()?, TResult video(List<File> files)?, TResult image(List<File> files)?, TResult vr(List<File> files)?, TResult audio(List<File> files)?, TResult html(List<File> files)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult unknown(), required TResult video(List<File> files), required TResult image(List<File> files), required TResult vr(List<File> files), required TResult audio(List<File> files), required TResult html(List<File> files)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? unknown()?, TResult? video(List<File> files)?, TResult? image(List<File> files)?, TResult? vr(List<File> files)?, TResult? audio(List<File> files)?, TResult? html(List<File> files)?}) → TResult?
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited