MapxusErrorEvent.fromMap constructor

MapxusErrorEvent.fromMap(
  1. Map map
)

Implementation

factory MapxusErrorEvent.fromMap(Map<dynamic, dynamic> map) {
  return MapxusErrorEvent(
    message: map['message'] ?? '',
    code: map['code'] ?? ''
  );
}