FormDataEntryValue class

Represents a form data entry.

Implementers
Annotations
  • @Freezed(equal: false, copyWith: false, map: FreezedMapOptions.none)

Constructors

FormDataEntryValue.file(File file)
const
factory
FormDataEntryValue.string(String value)
Creates a FormDataEntryValue instance from a String.
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

maybeWhen<TResult extends Object?>({TResult file(File file)?, TResult string(String value)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult file(File file), required TResult string(String value)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? file(File file)?, TResult? string(String value)?}) → TResult?
inherited

Operators

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