ExportConfig.fromJson constructor

ExportConfig.fromJson(
  1. Map json_
)

Implementation

ExportConfig.fromJson(core.Map json_)
    : this(
        currentState: json_.containsKey('currentState')
            ? json_['currentState'] as core.String
            : null,
        deadLetterTopic: json_.containsKey('deadLetterTopic')
            ? json_['deadLetterTopic'] as core.String
            : null,
        desiredState: json_.containsKey('desiredState')
            ? json_['desiredState'] as core.String
            : null,
        pubsubConfig: json_.containsKey('pubsubConfig')
            ? PubSubConfig.fromJson(
                json_['pubsubConfig'] as core.Map<core.String, core.dynamic>)
            : null,
      );