Position.fromJson constructor
Position.fromJson(
- Map _json
Implementation
Position.fromJson(core.Map _json)
: this(
byteOffset: _json.containsKey('byteOffset')
? _json['byteOffset'] as core.String
: null,
concatPosition: _json.containsKey('concatPosition')
? ConcatPosition.fromJson(_json['concatPosition']
as core.Map<core.String, core.dynamic>)
: null,
end: _json.containsKey('end') ? _json['end'] as core.bool : null,
key: _json.containsKey('key') ? _json['key'] as core.String : null,
recordIndex: _json.containsKey('recordIndex')
? _json['recordIndex'] as core.String
: null,
shufflePosition: _json.containsKey('shufflePosition')
? _json['shufflePosition'] as core.String
: null,
);