AdditionalProperties class abstract
Constructors
-
AdditionalProperties({Map<
String, dynamic> additionalProperties = const {}}) -
const
Properties
-
additionalProperties
→ Map<
String, dynamic> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyAdditionalProperties(
{Object? additionalProperties = unset}) → Map< String, dynamic> - Returns a new Map<String, dynamic> with the merged additional properties.
-
getAdditionalDateTime(
String key) → DateTime? - Helper to get a DateTime from an additional property value.
-
getAdditionalEnum<
T extends Enum> (String key, List< T> enumValues) → T? -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
safeGetAdditionalValue<
T> (String key) → T? -
Safely get an additional property value of type
T. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
-
operator [](
String key) → dynamic -
Syntactic sugar to access the additionalProperties values by subscripting directly.
obj["layout"] == obj.additionalProperties["layout"]