DcrExchangeConfig.fromJson constructor

DcrExchangeConfig.fromJson(
  1. Map json_
)

Implementation

DcrExchangeConfig.fromJson(core.Map json_)
    : this(
        singleLinkedDatasetPerCleanroom:
            json_.containsKey('singleLinkedDatasetPerCleanroom')
                ? json_['singleLinkedDatasetPerCleanroom'] as core.bool
                : null,
        singleSelectedResourceSharingRestriction: json_
                .containsKey('singleSelectedResourceSharingRestriction')
            ? json_['singleSelectedResourceSharingRestriction'] as core.bool
            : null,
      );