PubsubConfig.fromJson constructor

PubsubConfig.fromJson(
  1. Map json_
)

Implementation

PubsubConfig.fromJson(core.Map json_)
    : this(
        messageFormat: json_.containsKey('messageFormat')
            ? json_['messageFormat'] as core.String
            : null,
        serviceAccountEmail: json_.containsKey('serviceAccountEmail')
            ? json_['serviceAccountEmail'] as core.String
            : null,
        topic:
            json_.containsKey('topic') ? json_['topic'] as core.String : null,
      );