RestoreInfo.fromJson constructor

RestoreInfo.fromJson(
  1. Map json_
)

Implementation

RestoreInfo.fromJson(core.Map json_)
    : this(
        backupInfo: json_.containsKey('backupInfo')
            ? BackupInfo.fromJson(
                json_['backupInfo'] as core.Map<core.String, core.dynamic>)
            : null,
        sourceType: json_.containsKey('sourceType')
            ? json_['sourceType'] as core.String
            : null,
      );