AboutStorageQuota.fromJson constructor

AboutStorageQuota.fromJson(
  1. Map json_
)

Implementation

AboutStorageQuota.fromJson(core.Map json_)
    : this(
        limit:
            json_.containsKey('limit') ? json_['limit'] as core.String : null,
        usage:
            json_.containsKey('usage') ? json_['usage'] as core.String : null,
        usageInDrive: json_.containsKey('usageInDrive')
            ? json_['usageInDrive'] as core.String
            : null,
        usageInDriveTrash: json_.containsKey('usageInDriveTrash')
            ? json_['usageInDriveTrash'] as core.String
            : null,
      );