ErrorEvent.fromJson constructor

ErrorEvent.fromJson(
  1. Map<String, dynamic> j
)

Implementation

factory ErrorEvent.fromJson(Map<String, dynamic> j) {
  return ErrorEvent(
    code: j['code'] as String?,
    message: j['message'] as String,
    param: j['param'] as String?,
    sequenceNumber: j['sequence_number'] as int?,
  );
}