GoogleFirestoreAdminV1BackupSchedule.fromJson constructor

GoogleFirestoreAdminV1BackupSchedule.fromJson(
  1. Map json_
)

Implementation

GoogleFirestoreAdminV1BackupSchedule.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        dailyRecurrence: json_.containsKey('dailyRecurrence')
            ? GoogleFirestoreAdminV1DailyRecurrence.fromJson(
                json_['dailyRecurrence']
                    as core.Map<core.String, core.dynamic>)
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        retention: json_.containsKey('retention')
            ? json_['retention'] as core.String
            : null,
        updateTime: json_.containsKey('updateTime')
            ? json_['updateTime'] as core.String
            : null,
        weeklyRecurrence: json_.containsKey('weeklyRecurrence')
            ? GoogleFirestoreAdminV1WeeklyRecurrence.fromJson(
                json_['weeklyRecurrence']
                    as core.Map<core.String, core.dynamic>)
            : null,
      );