DeviceMinutes.fromJson constructor

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

Implementation

factory DeviceMinutes.fromJson(Map<String, dynamic> json) {
  return DeviceMinutes(
    metered: json['metered'] as double?,
    total: json['total'] as double?,
    unmetered: json['unmetered'] as double?,
  );
}