EventSubscriptionDestination.fromJson constructor

EventSubscriptionDestination.fromJson(
  1. Map json_
)

Implementation

EventSubscriptionDestination.fromJson(core.Map json_)
    : this(
        endpoint: json_.containsKey('endpoint')
            ? EndPoint.fromJson(
                json_['endpoint'] as core.Map<core.String, core.dynamic>)
            : null,
        serviceAccount: json_.containsKey('serviceAccount')
            ? json_['serviceAccount'] as core.String
            : null,
        type: json_.containsKey('type') ? json_['type'] as core.String : null,
      );