ServerResponse.fromJson constructor

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

Creates a new server response from a JSON map.

Implementation

factory ServerResponse.fromJson(Map<String, dynamic> json) =>
    _$ServerResponseFromJson(json);