DestinationMetadata class Null safety
Navigation Destination's metadata.
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
- @immutable
Constructors
-
DestinationMetadata({Object? arguments, List<
Destination> ? history}) -
Create a DestinationMetadata from arguments and history.
const
-
DestinationMetadata.fromJson(Map<
String, Object?> json) -
Create a DestinationMetadata from
json
.factory
Properties
- arguments → Object?
-
Navigation destination's arguments.
@JsonKey(includeIfNull: false, disallowNullValue: true, fromJson: DestinationArgumentConverter.pojoFromJson, toJson: DestinationArgumentConverter.pojoToJson)final
- hashCode → int
-
The hash code for this object.
read-onlyoverride
-
history
→ List<
Destination> ? -
Navigation destination's history.
@JsonKey(fromJson: _fromJson, toJson: _toJson, disallowNullValue: true)final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> - Convert the DestinationMetadata to json representation.
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override