DeviceInfo.fromJson constructor

DeviceInfo.fromJson(
  1. Map<String, dynamic> json
)

Implementation

DeviceInfo.fromJson(Map<String, dynamic> json) {
  this.device = json['device'];
  this.osVersion = json['os_version'];
  this.appVersion = json['app_version'];
  this.serial = json['serial'];
  this.regId = json['regid'];
}