SharingEnvironmentConfig.fromJson constructor

SharingEnvironmentConfig.fromJson(
  1. Map json_
)

Implementation

SharingEnvironmentConfig.fromJson(core.Map json_)
    : this(
        dcrExchangeConfig: json_.containsKey('dcrExchangeConfig')
            ? DcrExchangeConfig.fromJson(json_['dcrExchangeConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
        defaultExchangeConfig: json_.containsKey('defaultExchangeConfig')
            ? DefaultExchangeConfig.fromJson(json_['defaultExchangeConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );