SpriteSheet.fromJson constructor
SpriteSheet.fromJson(
- Map _json
Implementation
SpriteSheet.fromJson(core.Map _json)
: this(
columnCount: _json.containsKey('columnCount')
? _json['columnCount'] as core.int
: null,
endTimeOffset: _json.containsKey('endTimeOffset')
? _json['endTimeOffset'] as core.String
: null,
filePrefix: _json.containsKey('filePrefix')
? _json['filePrefix'] as core.String
: null,
format: _json.containsKey('format')
? _json['format'] as core.String
: null,
interval: _json.containsKey('interval')
? _json['interval'] as core.String
: null,
quality: _json.containsKey('quality')
? _json['quality'] as core.int
: null,
rowCount: _json.containsKey('rowCount')
? _json['rowCount'] as core.int
: null,
spriteHeightPixels: _json.containsKey('spriteHeightPixels')
? _json['spriteHeightPixels'] as core.int
: null,
spriteWidthPixels: _json.containsKey('spriteWidthPixels')
? _json['spriteWidthPixels'] as core.int
: null,
startTimeOffset: _json.containsKey('startTimeOffset')
? _json['startTimeOffset'] as core.String
: null,
totalCount: _json.containsKey('totalCount')
? _json['totalCount'] as core.int
: null,
);