SteamApi.fromJson constructor
Creates a SteamApi from json
Implementation
SteamApi.fromJson(Map<String, dynamic> json) {
callbackStructs = json["callback_structs"]
.map<SteamStruct>((x) => SteamStruct.fromJson(x))
.toList();
consts =
json["consts"].map<SteamConst>((x) => SteamConst.fromJson(x)).toList();
enums = json["enums"].map<SteamEnum>((x) => SteamEnum.fromJson(x)).toList();
interfaces = json["interfaces"]
.map<SteamInterface>((x) => SteamInterface.fromJson(x))
.toList();
structs = json["structs"]
.map<SteamStruct>((x) => SteamStruct.fromJson(x))
.toList();
typedefs = json["typedefs"]
.map<SteamTypedef>((x) => SteamTypedef.fromJson(x))
.toList();
}