ErrorResponseBody.fromMap constructor

ErrorResponseBody.fromMap(
  1. Map<String, Object?> obj
)

Implementation

ErrorResponseBody.fromMap(Map<String, Object?> obj)
    : error = obj['error'] == null
          ? null
          : Message.fromJson(obj['error'] as Map<String, Object?>);