BarcodeSMS.fromJson constructor

BarcodeSMS.fromJson(
  1. Map json
)

Returns an instance of BarcodeSMS from a given json.

Implementation

factory BarcodeSMS.fromJson(Map<dynamic, dynamic> json) => BarcodeSMS(
      message: json['message'],
      phoneNumber: json['number'],
    );