GetDeviceMethodsResponse.fromJson constructor
Implementation
factory GetDeviceMethodsResponse.fromJson(Map<String, dynamic> json) {
return GetDeviceMethodsResponse(
deviceMethods: (json['deviceMethods'] as List?)
?.whereNotNull()
.map((e) => DeviceMethod.fromJson(e as Map<String, dynamic>))
.toList(),
);
}