CreateEventSubscriptionResponse.fromJson constructor

CreateEventSubscriptionResponse.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory CreateEventSubscriptionResponse.fromJson(Map<String, dynamic> json) {
  return CreateEventSubscriptionResponse(
    eventSubscription: json['EventSubscription'] != null
        ? EventSubscription.fromJson(
            json['EventSubscription'] as Map<String, dynamic>)
        : null,
  );
}