DeviceMethod.fromJson constructor

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

Implementation

factory DeviceMethod.fromJson(Map<String, dynamic> json) {
  return DeviceMethod(
    deviceType: json['deviceType'] as String?,
    methodName: json['methodName'] as String?,
  );
}