EventMasterResult<T> class

Contains data returned from the event master system encapsulated inside an EventMasterResponse

Constructors

EventMasterResult({required int success, T? response})
Initializes an EventMasterResult
EventMasterResult.fromMap(Map<String, dynamic> map)
Creates an EventMasterResult from a Map object containing values which correspond to the parameters of EventMasterResult
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
response → T?
Data returned from the Event Master in response to an EventMasterRequest
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
success int
0=success, anything else is an error
final

Methods

copyWith<T2>({int? success, T2? response}) EventMasterResult<T2>
Copies an EventMasterResult 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.
inherited

Operators

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