UsageDataSourceResult.fromJson constructor
Implementation
factory UsageDataSourceResult.fromJson(Map<String, dynamic> json) {
return UsageDataSourceResult(
dataSource: (json['dataSource'] as String?)?.toDataSource(),
total: json['total'] != null
? Total.fromJson(json['total'] as Map<String, dynamic>)
: null,
);
}