BrickLocation.fromJson constructor
BrickLocation.fromJson(
- dynamic json
Converts a Map to a BrickLocation.
Implementation
factory BrickLocation.fromJson(dynamic json) {
if (json is String) return BrickLocation(version: json);
return _$BrickLocationFromJson(json as Map);
}