CreateServerResponse.fromJson constructor

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

Implementation

factory CreateServerResponse.fromJson(Map<String, dynamic> json) {
  return CreateServerResponse(
    server: json['Server'] != null
        ? Server.fromJson(json['Server'] as Map<String, dynamic>)
        : null,
  );
}