ModelScreenConfiguration class
- Inheritance
-
- Object
- BaseModel
- Model
- ModelScreenConfiguration
- Available extensions
Constructors
- ModelScreenConfiguration({Map? args, bool? isAccessibleOnlyIfLoggedInAndVerified, bool? isAccessibleOnlyIfLoggedIn, bool? isAccessibleOnlyIfLoggedOut, bool? isRedirectable, String? path, ModelScreenConfiguration? previousConfiguration, String? title})
-
factory
- ModelScreenConfiguration.b({Map? args, bool? isAccessibleOnlyIfLoggedInAndVerified, bool? isAccessibleOnlyIfLoggedIn, bool? isAccessibleOnlyIfLoggedOut, bool? isRedirectable, String? path, ModelScreenConfiguration? previousConfiguration, String? title})
- ModelScreenConfiguration.empty()
- ModelScreenConfiguration.from(Model? other)
-
factory
-
ModelScreenConfiguration.fromJson(Map<
String, dynamic> ? otherData) -
factory
- ModelScreenConfiguration.fromJsonString(String source)
-
factory
- ModelScreenConfiguration.fromUri(Uri? uri)
-
factory
- ModelScreenConfiguration.of(ModelScreenConfiguration other)
-
factory
Properties
- $args ↔ dynamic
-
getter/setter pair
- $class → String
-
no setter
- $className → String
-
The class name of the model as a string.
no setterinherited
- $isAccessibleOnlyIfLoggedIn ↔ dynamic
-
getter/setter pair
- $isAccessibleOnlyIfLoggedInAndVerified ↔ dynamic
-
getter/setter pair
- $isAccessibleOnlyIfLoggedOut ↔ dynamic
-
getter/setter pair
- $isRedirectable ↔ dynamic
-
getter/setter pair
- $path ↔ dynamic
-
getter/setter pair
- $previousConfiguration ↔ dynamic
-
getter/setter pair
- $title ↔ dynamic
-
getter/setter pair
- args ↔ Map?
-
getter/setter pair
- argsField ↔ Map?
-
getter/setter pair
-
data
→ Map<
String, dynamic> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAccessibleOnlyIfLoggedIn ↔ bool?
-
getter/setter pair
- isAccessibleOnlyIfLoggedInAndVerified ↔ bool?
-
getter/setter pair
- isAccessibleOnlyIfLoggedInAndVerifiedField ↔ bool?
-
getter/setter pair
- isAccessibleOnlyIfLoggedInField ↔ bool?
-
getter/setter pair
- isAccessibleOnlyIfLoggedOut ↔ bool?
-
getter/setter pair
- isAccessibleOnlyIfLoggedOutField ↔ bool?
-
getter/setter pair
- isRedirectable ↔ bool?
-
getter/setter pair
- isRedirectableField ↔ bool?
-
getter/setter pair
- path ↔ String?
-
getter/setter pair
- pathField ↔ String?
-
getter/setter pair
- previousConfiguration ↔ ModelScreenConfiguration?
-
getter/setter pair
- previousConfigurationField ↔ ModelScreenConfiguration?
-
getter/setter pair
- ref → DataRefModel?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
getter/setter pair
- titleField ↔ String?
-
getter/setter pair
Methods
-
arg<
T> (dynamic key) → T? -
Available on ModelScreenConfiguration, provided by the ModelScreenConfigurationExtension extension
-
copy<
T extends Model> () → T -
copyWith(
BaseModel? other) → Model -
Returns a new copy of the BaseModel with the fields updated from the
otherBaseModel.inherited -
empty<
T extends Model> () → T -
equals(
dynamic other) → bool -
Compares the BaseModel with another BaseModel using the
DeepCollectionEqualityand returnstrueif they are equal.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
sortedJson(
{dynamic defaultValue, 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(
{dynamic defaultValue, 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
BaseModelto 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 -
updateWithJson(
Map< String, dynamic> ? otherData) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJsonOrNull(
Map< String, dynamic> ? otherData) → ModelScreenConfiguration? -
fromJsonStringOrNull(
String? source) → ModelScreenConfiguration? -
override
-
fromOrNull(
Model? other) → ModelScreenConfiguration? -
fromUriOrNull(
Uri? uri) → ModelScreenConfiguration? -
ofOrNull(
ModelScreenConfiguration? other) → ModelScreenConfiguration?
Constants
- CLASS → const String
- K_ARGS → const String
- K_IS_ACCESSIBLE_ONLY_IF_LOGGED_IN → const String
- K_IS_ACCESSIBLE_ONLY_IF_LOGGED_IN_AND_VERIFIED → const String
- K_IS_ACCESSIBLE_ONLY_IF_LOGGED_OUT → const String
- K_IS_REDIRECTABLE → const String
- K_PATH → const String
- K_PREVIOUS_CONFIGURATION → const String
- K_TITLE → const String