Server.fromJson constructor
- Map<
String, dynamic> json
Alternate constructor that creates an Server from a json.
Params:
- json: contains the source for instance creation.
Implementation
factory Server.fromJson(Map<String, dynamic> json) {
return ServerImpl.fromJson(json);
}