fromJson static method
Creates an Installation instance from a JSON map.
Implementation
static Installation? fromJson(Map? json) {
if (json == null) {
return null;
}
return Installation(
json,
id: json['id'],
);
}
Creates an Installation instance from a JSON map.
static Installation? fromJson(Map? json) {
if (json == null) {
return null;
}
return Installation(
json,
id: json['id'],
);
}