FirmwareVersion.fromJson constructor

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

Implementation

factory FirmwareVersion.fromJson(Map<String, dynamic> json) => FirmwareVersion(
      version: json["version"],
      otaType: json["OTAType"],
    );