fromJson static method
Implementation
static AuthDeviceInfoModel fromJson(String deviceInfoData) {
final data = jsonDecode(deviceInfoData);
return AuthDeviceInfoModel(
id: data["id"],
name: data["name"],
);
}
static AuthDeviceInfoModel fromJson(String deviceInfoData) {
final data = jsonDecode(deviceInfoData);
return AuthDeviceInfoModel(
id: data["id"],
name: data["name"],
);
}