EmptyModel class final
EmptyModel is a model class that is used to general model or primitive type.
- Inheritance
-
- Object
- INetworkModel<
EmptyModel> - EmptyModel
Constructors
- EmptyModel({String? name})
- EmptyModel constructor is used to create a new EmptyModel
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String?
-
name is a getter method that returns the name of the model.
final
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.no setterinherited
Methods
-
fromJson(
Map< String, dynamic> ? json) → EmptyModel -
Parse json to model
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object> ? -
Convert to json for request body
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited