EzvizDeviceInfo.fromJson constructor

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

Implementation

factory EzvizDeviceInfo.fromJson(Map<String, dynamic> json) {
  return EzvizDeviceInfo(
    deviceSerial: json['deviceSerial'],
    deviceName: json['deviceName'],
    isSupportPTZ: json['isSupportPTZ'],
    cameraNum: json['cameraNum'],
  );
}