NotificationConfig.fromJson constructor

NotificationConfig.fromJson(
  1. Map json_
)

Implementation

NotificationConfig.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pubsubTopic: json_.containsKey('pubsubTopic')
            ? json_['pubsubTopic'] as core.String
            : null,
        serviceAccount: json_.containsKey('serviceAccount')
            ? json_['serviceAccount'] as core.String
            : null,
        streamingConfig: json_.containsKey('streamingConfig')
            ? StreamingConfig.fromJson(json_['streamingConfig']
                as core.Map<core.String, core.dynamic>)
            : null,
      );