GoogleFirestoreAdminV1Backup.fromJson constructor

GoogleFirestoreAdminV1Backup.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1Backup.fromJson(core.Map json_)
    : this(
        database: json_.containsKey('database')
            ? json_['database'] as core.String
            : null,
        databaseUid: json_.containsKey('databaseUid')
            ? json_['databaseUid'] as core.String
            : null,
        expireTime: json_.containsKey('expireTime')
            ? json_['expireTime'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        snapshotTime: json_.containsKey('snapshotTime')
            ? json_['snapshotTime'] as core.String
            : null,
        state:
            json_.containsKey('state') ? json_['state'] as core.String : null,
        stats: json_.containsKey('stats')
            ? GoogleFirestoreAdminV1Stats.fromJson(
                json_['stats'] as core.Map<core.String, core.dynamic>)
            : null,
      );