EventMasterResponse<T> class
Generic response from an Event Master system
Constructors
-
EventMasterResponse.new({EventMasterResult<
T> ? result, String? error, required String id}) - Creates an EventMasterResponse
- EventMasterResponse.fromJson(String source)
-
Creates an EventMasterResponse from a JSON string containing values
which correspond to the parameters of EventMasterResponse
factory
-
EventMasterResponse.fromMap(Map<
String, dynamic> map) -
Creates an EventMasterResponse from a Map object containing values
which correspond to the parameters of EventMasterResponse
factory
Properties
- error → String?
-
A specified error code if there was an error invoking the method, otherwise null.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
A value used to match the response with the request to which it is replying.
The receiver of the request must reply with a valid response to all received requests.
final
-
result
→ EventMasterResult<
T> ? -
The data returned by the invoked method. If an error occurred while
invoking the method, this value must be null.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith<
T2> ({EventMasterResult< T2> ? result, String? error, String? id}) → EventMasterResponse<T2> - Copies an EventMasterResponse and optionally allows mutation of the parameters and/or the generic type
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited