ToggleParams<I, F> class
- Inheritance
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true, checked: true, genericArgumentFactories: true)
Constructors
-
ToggleParams({Map<
String, dynamic> ? params, required I id, required F field, dynamic value}) -
const
-
ToggleParams.fromJson(Map<
String, dynamic> json, I fromJsonI(Object? json), F fromJsonF(Object? json)) -
factory
Properties
- field → F
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- hasParams → bool
-
Available on Params, provided by the ParamsPropertyHelpers extension
no setter - id → I
-
final
- noParams → bool
-
Available on Params, provided by the ParamsPropertyHelpers extension
no setter -
params
→ Map<
String, dynamic> ? -
final
-
paramsRequired
→ Map<
String, dynamic> -
Available on Params, provided by the ParamsPropertyHelpers extension
no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → dynamic
-
final
Methods
-
compareToParams(
Params other) → Map< String, dynamic> -
Available on Params, provided by the ParamsCompareE extension
-
compareToToggleParams(
ToggleParams other) → Map< String, dynamic> -
Available on ToggleParams, provided by the ToggleParamsCompareE extension
-
copyWith(
{Map< String, dynamic> ? params, I? id, F? field, dynamic value}) → ToggleParams -
copyWithField<
T> (Field< ToggleParams< field, T value) → ToggleParamsI, F> , T> -
Returns a copy of this entity with
fieldset tovalue. -
copyWithToggleParams(
{Map< String, dynamic> ? params, I? id, F? field, dynamic value}) → ToggleParams -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
patchWithToggleParams(
[ToggleParamsPatch? patchInput]) → ToggleParams -
toJson(
Object? toJsonI(I value), Object? toJsonF(F value)) → Map< String, dynamic> -
Available on ToggleParams<
I, F> , provided by the ToggleParamsSerialization extension -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override