DefaultResult class
Provides a DefaultResult which contains the error or any message which will be used to send an FilmGyaanException to the application.
Mainly will be used to show error message from remote.
Constructors
- DefaultResult()
- DefaultResult.fromJson(dynamic object)
-
factory
Properties
-
error
→ Map<
String, dynamic> ? -
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isError ↔ bool?
-
getter/setter pair
- message → String?
-
no setter
-
otherKeys
↔ Map<
String, dynamic> -
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status ↔ int?
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
collectOtherKeys(
dynamic object, List< String> knownKeys) → Map<String, dynamic>