DevicesInfoModel.fromJson constructor

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

Implementation

factory DevicesInfoModel.fromJson(Map<String, dynamic> json) {
  return DevicesInfoModel(
      ipAddress: json['ip_address'] as String?,
      deviceType: json['device_type'] as String?,
      osVersion: json['os_version'] as String?,
      appVersionCode: json['app_version_code'] as String?,
      buildVersionCode: json['app_build_code'] as String?,
      uuid: json['uuid'] as String?);
}