SqlServerHomogeneousMigrationJobConfig.fromJson constructor

SqlServerHomogeneousMigrationJobConfig.fromJson(
  1. Map json_
)

Implementation

SqlServerHomogeneousMigrationJobConfig.fromJson(core.Map json_)
    : this(
        backupFilePattern: json_.containsKey('backupFilePattern')
            ? json_['backupFilePattern'] as core.String
            : null,
        databaseBackups: json_.containsKey('databaseBackups')
            ? (json_['databaseBackups'] as core.List)
                .map((value) => SqlServerDatabaseBackup.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
        useDiffBackup: json_.containsKey('useDiffBackup')
            ? json_['useDiffBackup'] as core.bool
            : null,
      );