CustomFieldContextDefaultValueDate class
The default value for a Date custom field.
Constructors
- CustomFieldContextDefaultValueDate({String? date, required String type, bool? useCurrent})
-
CustomFieldContextDefaultValueDate.fromJson(Map<
String, Object?> json) -
factory
Properties
- date → String?
-
The default date in ISO format. Ignored if
useCurrent
is true.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → String
-
final
- useCurrent → bool
-
Whether to use the current date.
final
Methods
-
copyWith(
{String? date, String? type, bool? useCurrent}) → CustomFieldContextDefaultValueDate -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited