BarcodeEmail.fromJson constructor

BarcodeEmail.fromJson(
  1. 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'],
    );