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,
);