GetOffset.deserialize constructor
- Map<
String, String> json, - DeserializeFinderFactory finderFactory, {
- String? path,
Deserializes this command from the value generated by serialize.
Implementation
GetOffset.deserialize(super.json, super.finderFactory, {super.path})
: offsetType = json.containsKey('offsetType')
? _offsetTypeIndex.lookupBySimpleName(
json['offsetType']!,
path: path == null ? 'offsetType' : '$path.offsetType',
)
: throw ArgumentError.notNull(path == null ? 'offsetType' : '$path.offsetType'),
super.deserialize();