SimpleValueFormat<T extends Object> class
- Inheritance
-
- Object
- DataFormat<
T> - ValueFormat<
T> - SimpleValueFormat
Constructors
-
SimpleValueFormat({PlatformCodec<
T> ? android, PlatformCodec<T> ? ios, PlatformCodec<T> ? linux, PlatformCodec<T> ? macos, PlatformCodec<T> ? windows, PlatformCodec<T> ? web, PlatformCodec<T> fallback = const SimplePlatformCodec(formats: [])}) -
const
Properties
-
android
→ PlatformCodec<
T> ? -
final
-
codec
→ PlatformCodec<
T> -
no setteroverride
-
fallback
→ PlatformCodec<
T> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ios
→ PlatformCodec<
T> ? -
final
-
linux
→ PlatformCodec<
T> ? -
final
-
macos
→ PlatformCodec<
T> ? -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
web
→ PlatformCodec<
T> ? -
final
-
windows
→ PlatformCodec<
T> ? -
final
Methods
-
call(
T data) → FutureOr< EncodedData> -
Encodes the provided data to platform specific format.
The encoded data can be added to DataWriterItem.
inherited
-
lazy(
DataProvider< T> provider) → FutureOr<EncodedData> -
Encodes the provided lazy data. Some platforms support providing the data
on demand. In which case the
provider
callback will be invoked when the data is requested. On platforms that do not support this (iOS, web) theprovider
callback will be called eagerly.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited