Creates a new server response from a JSON map.
factory ServerResponse.fromJson(Map<String, dynamic> json) => _$ServerResponseFromJson(json);