ModelJsNavigator class

Generated class for _ModelJsNavigator.

Inheritance
Available extensions

Constructors

ModelJsNavigator({String? userAgent})
Constructs a new instance of ModelJsNavigator from optional and required parameters.
const
ModelJsNavigator.assertRequired({String? userAgent})
Constructs a new instance of ModelJsNavigator, and asserts that all required parameters are not null.
factory
ModelJsNavigator.from(BaseModel another)
Constructs a new instance of ModelJsNavigator, from the fields of another instance. Throws if the conversion fails.
factory
ModelJsNavigator.fromJson(Map<String, dynamic>? json)
Constructs a new instance of ModelJsNavigator, from json, which must be a valid JSON object. Throws if the conversion fails.
factory
ModelJsNavigator.fromJsonString(String jsonString)
Constructs a new instance of ModelJsNavigator, from jsonString, which must be a valid JSON String. Throws if the conversion fails.
factory
ModelJsNavigator.fromUri(Uri? uri)
Constructs a new instance of ModelJsNavigator, from the query parameters of uri. Throws if the conversion fails.
factory
ModelJsNavigator.of(ModelJsNavigator another)
Constructs a new instance of ModelJsNavigator, from the fields of another instance. Throws if the conversion fails.
factory
ModelJsNavigator.optional({String? userAgent})
Construcs a new instance of ModelJsNavigator, forcing all parameters to be optional.
const

Properties

$className String
The runtime type of this class as a String.
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
rootData Map<String, dynamic>
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userAgent String?
No description provided.
final
userAgent$ String?
Returns the value of the userAgent field. If the field is nullable, the return value may be null; otherwise, it will always return a non-null value.
no setter

Methods

copyWith({String? userAgent}) ModelJsNavigator

Available on ModelJsNavigator, provided by the ModelJsNavigatorX extension

Creates a copy of this instance, replacing the specified fields.
copyWithout({bool userAgent = true}) ModelJsNavigator

Available on ModelJsNavigator, provided by the ModelJsNavigatorX extension

Creates a copy of this instance, removing the specified fields.
equals(dynamic other) bool
Compares the BaseModel with another BaseModel using the DeepCollectionEquality and returns true if they are equal.
inherited
mergeWith(BaseModel? other, {bool deepMerge = false}) ModelJsNavigator

Available on ModelJsNavigator, provided by the ModelJsNavigatorX extension

Creates a copy of this instance, merging another model's fields into this model's fields.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sortedJson({bool includeNulls = false}) Map<String, dynamic>
Returns a Json i.e. Map<String, dynamic> representation of the BaseModel, with the keys sorted alphabetically.
inherited
toJson({bool includeNulls = false}) Map<String, dynamic>
Returns a Json i.e. Map<String, dynamic> representation of the BaseModel.
override
toJsonString() String
Returns a JSON string representation of the BaseModel.
inherited
toString() String
A string representation of this object.
inherited
toUrl() Uri
Converts the current BaseModel to a Uri that can be used as a distinct identifier. The model must not be too large to avoid exceeding the maximum length of a URL.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromJsonOrNull(Map<String, dynamic>? json) ModelJsNavigator?
Constructs a new instance of ModelJsNavigator, from json, which must be a valid JSON object. Returns null if json is null or if the conversion fails.
fromJsonStringOrNull(String? jsonString) ModelJsNavigator?
Constructs a new instance of ModelJsNavigator, from jsonString, which must be a valid JSON String. Returns null if jsonString is null or if the conversion fails.
override
fromOrNull(BaseModel? another) ModelJsNavigator?
Constructs a new instance of ModelJsNavigator, from the fields of another instance. Returns null if another is null or if the conversion fails.
fromUriOrNull(Uri? uri) ModelJsNavigator?
Constructs a new instance of ModelJsNavigator, from the query parameters of uri. Returns null if uri is null or if the conversion fails.
ofOrNull(ModelJsNavigator? other) ModelJsNavigator?
Constructs a new instance of ModelJsNavigator, from the fields of another instance. Returns null if another is null or if the conversion fails.

Constants

CLASS_NAME → const String
The runtime type of this class as a String.