MediaResult class abstract

Media result

Mirrors the native MediaResult contract: a sealed hierarchy discriminated by a type key carrying the originating StepNames value. Android encodes it via the polymorphic class discriminator of its sealed interface, and iOS encodes it explicitly in each encode(to:) implementation.

Implementers

Constructors

MediaResult({required StepNames type, required String key, required MediaFile mediaFile})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
key → String
final
mediaFile → MediaFile
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → StepNames
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

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