TextureSettings.fromJsonFile constructor
Parses json; throws FormatException on a missing or mistyped field.
Implementation
TextureSettings.fromJsonFile(Map<String, dynamic> json)
: width = _requireInt(json, 'width'),
height = _requireInt(json, 'height');