GoogleFirestoreAdminV1ListBackupsResponse.fromJson constructor

GoogleFirestoreAdminV1ListBackupsResponse.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1ListBackupsResponse.fromJson(core.Map json_)
    : this(
        backups: json_.containsKey('backups')
            ? (json_['backups'] as core.List)
                .map((value) => GoogleFirestoreAdminV1Backup.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        unreachable: json_.containsKey('unreachable')
            ? (json_['unreachable'] as core.List)
                .map((value) => value as core.String)
                .toList()
            : null,
      );