TireSizeResult.fromJson constructor
TireSizeResult.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TireSizeResult.fromJson(Map<String, dynamic> json) => TireSizeResult(
commercialTire: json["commercialTire"] == null ? null : TireSizeResultField.fromJson(json["commercialTire"]),
construction: json["construction"] == null ? null : TireSizeResultField.fromJson(json["construction"]),
diameter: json["diameter"] == null ? null : TireSizeResultField.fromJson(json["diameter"]),
extraLoad: json["extraLoad"] == null ? null : TireSizeResultField.fromJson(json["extraLoad"]),
loadIndex: json["loadIndex"] == null ? null : TireSizeResultField.fromJson(json["loadIndex"]),
prettifiedString: json["prettifiedString"] == null ? null : TireSizeResultField.fromJson(json["prettifiedString"]),
prettifiedStringWithMeta: json["prettifiedStringWithMeta"] == null ? null : TireSizeResultField.fromJson(json["prettifiedStringWithMeta"]),
ratio: json["ratio"] == null ? null : TireSizeResultField.fromJson(json["ratio"]),
speedRating: json["speedRating"] == null ? null : TireSizeResultField.fromJson(json["speedRating"]),
text: json["text"] == null ? null : TireSizeResultField.fromJson(json["text"]),
vehicleType: json["vehicleType"] == null ? null : TireSizeResultField.fromJson(json["vehicleType"]),
width: json["width"] == null ? null : TireSizeResultField.fromJson(json["width"]),
winter: json["winter"] == null ? null : TireSizeResultField.fromJson(json["winter"]),
);