TransferOptions.fromJson constructor

TransferOptions.fromJson(
  1. Map json_
)

Implementation

TransferOptions.fromJson(core.Map json_)
    : this(
        deleteObjectsFromSourceAfterTransfer:
            json_.containsKey('deleteObjectsFromSourceAfterTransfer')
                ? json_['deleteObjectsFromSourceAfterTransfer'] as core.bool
                : null,
        deleteObjectsUniqueInSink:
            json_.containsKey('deleteObjectsUniqueInSink')
                ? json_['deleteObjectsUniqueInSink'] as core.bool
                : null,
        metadataOptions: json_.containsKey('metadataOptions')
            ? MetadataOptions.fromJson(json_['metadataOptions']
                as core.Map<core.String, core.dynamic>)
            : null,
        overwriteObjectsAlreadyExistingInSink:
            json_.containsKey('overwriteObjectsAlreadyExistingInSink')
                ? json_['overwriteObjectsAlreadyExistingInSink'] as core.bool
                : null,
        overwriteWhen: json_.containsKey('overwriteWhen')
            ? json_['overwriteWhen'] as core.String
            : null,
      );