BarcodePhone.fromJson constructor
BarcodePhone.fromJson(
- Map json
Returns an instance of BarcodePhone from a given json
.
Implementation
factory BarcodePhone.fromJson(Map<dynamic, dynamic> json) => BarcodePhone(
type: BarcodePhoneType.values[json['phoneType']],
number: json['number'],
);