FormDurationField class Null safety
- Implemented types
Constructors
- FormDurationField({required String key, String? description, Duration? value})
-
constfactory
-
FormDurationField.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ _$$FormDurationFieldCopyWith<
_$FormDurationField> -
@JsonKey(ignore: true), read-only, override
- description → String?
-
read-only, override
- hashCode → int
-
The hash code for this object.
read-only, inherited
- key → String
-
read-only, override
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- value → Duration?
-
read-only, override
Methods
-
map<
TResult extends Object?> ({required TResult object(FormObjectField value), required TResult map(FormMapField value), required TResult string(FormStringField value), required TResult bool(FormBoolField value), required TResult double(FormDoubleField value), required TResult int(FormIntegerField value), required TResult num(FormNumField value), required TResult dateTime(FormDateTimeField value), required TResult duration(FormDurationField value), required TResult color(FormColorField value)}) → TResult -
@optionalTypeArgs, inherited
-
mapOrNull<
TResult extends Object?> ({TResult? object(FormObjectField value)?, TResult? map(FormMapField value)?, TResult? string(FormStringField value)?, TResult? bool(FormBoolField value)?, TResult? double(FormDoubleField value)?, TResult? int(FormIntegerField value)?, TResult? num(FormNumField value)?, TResult? dateTime(FormDateTimeField value)?, TResult? duration(FormDurationField value)?, TResult? color(FormColorField value)?}) → TResult? -
@optionalTypeArgs, inherited
-
maybeMap<
TResult extends Object?> ({TResult object(FormObjectField value)?, TResult map(FormMapField value)?, TResult string(FormStringField value)?, TResult bool(FormBoolField value)?, TResult double(FormDoubleField value)?, TResult int(FormIntegerField value)?, TResult num(FormNumField value)?, TResult dateTime(FormDateTimeField value)?, TResult duration(FormDurationField value)?, TResult color(FormColorField value)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
maybeWhen<
TResult extends Object?> ({TResult object(String key, String? description, Object? value)?, TResult map(String key, String? description, Map< String, Object?> ? value)?, TResult string(String key, String? description, String? value)?, TResult bool(String key, String? description, bool? value)?, TResult double(String key, String? description, double? value)?, TResult int(String key, String? description, int? value)?, TResult num(String key, String? description, num? value)?, TResult dateTime(String key, String? description, DateTime? value)?, TResult duration(String key, String? description, Duration? value)?, TResult color(String key, String? description, Color? value)?, required TResult orElse()}) → TResult -
@optionalTypeArgs, inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent 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 object(String key, String? description, Object? value), required TResult map(String key, String? description, Map< String, Object?> ? value), required TResult string(String key, String? description, String? value), required TResult bool(String key, String? description, bool? value), required TResult double(String key, String? description, double? value), required TResult int(String key, String? description, int? value), required TResult num(String key, String? description, num? value), required TResult dateTime(String key, String? description, DateTime? value), required TResult duration(String key, String? description, Duration? value), required TResult color(String key, String? description, Color? value)}) → TResult -
@optionalTypeArgs, inherited
-
whenOrNull<
TResult extends Object?> ({TResult? object(String key, String? description, Object? value)?, TResult? map(String key, String? description, Map< String, Object?> ? value)?, TResult? string(String key, String? description, String? value)?, TResult? bool(String key, String? description, bool? value)?, TResult? double(String key, String? description, double? value)?, TResult? int(String key, String? description, int? value)?, TResult? num(String key, String? description, num? value)?, TResult? dateTime(String key, String? description, DateTime? value)?, TResult? duration(String key, String? description, Duration? value)?, TResult? color(String key, String? description, Color? value)?}) → TResult? -
@optionalTypeArgs, inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited