KuzzleError.fromJson constructor

KuzzleError.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory KuzzleError.fromJson(Map<String, dynamic> json) =>
    KuzzleError(json['error']['id'] as String?,
    json['error']['message'] as String?,
    json['status'] as int?
);