BarcodeEmail.fromJson constructor
BarcodeEmail.fromJson(
- Map json
Returns an instance of BarcodeEmail from a given json
.
Implementation
factory BarcodeEmail.fromJson(Map<dynamic, dynamic> json) => BarcodeEmail(
type: BarcodeEmailType.values[json['emailType']],
address: json['address'],
body: json['body'],
subject: json['subject'],
);