ServerInfo.fromJson constructor

ServerInfo.fromJson(
  1. Map<String, Object?> json
)

Creates a new instance of ServerInfo from a JSON object.

The json parameter must be a map with keys and values that can be used to populate an instance of ServerInfo.

Implementation

factory ServerInfo.fromJson(Map<String, Object?> json) =>
    _$ServerInfoFromJson(json);