GoogleFirestoreAdminV1RestoreDatabaseRequest.fromJson constructor

GoogleFirestoreAdminV1RestoreDatabaseRequest.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1RestoreDatabaseRequest.fromJson(core.Map json_)
    : this(
        backup: json_.containsKey('backup')
            ? json_['backup'] as core.String
            : null,
        databaseId: json_.containsKey('databaseId')
            ? json_['databaseId'] as core.String
            : null,
        databaseSnapshot: json_.containsKey('databaseSnapshot')
            ? GoogleFirestoreAdminV1DatabaseSnapshot.fromJson(
                json_['databaseSnapshot']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );