UsageAccountResult.fromJson constructor

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

Implementation

factory UsageAccountResult.fromJson(Map<String, dynamic> json) {
  return UsageAccountResult(
    accountId: json['accountId'] as String?,
    total: json['total'] != null
        ? Total.fromJson(json['total'] as Map<String, dynamic>)
        : null,
  );
}