Barcode.fromJson constructor
Barcode.fromJson(
- Map json_
Implementation
Barcode.fromJson(core.Map json_)
: this(
alternateText: json_.containsKey('alternateText')
? json_['alternateText'] as core.String
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
renderEncoding: json_.containsKey('renderEncoding')
? json_['renderEncoding'] as core.String
: null,
showCodeText: json_.containsKey('showCodeText')
? LocalizedString.fromJson(
json_['showCodeText'] as core.Map<core.String, core.dynamic>)
: null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
value:
json_.containsKey('value') ? json_['value'] as core.String : null,
);