GetCognitoEventsResponse.fromJson constructor

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

Implementation

factory GetCognitoEventsResponse.fromJson(Map<String, dynamic> json) {
  return GetCognitoEventsResponse(
    events: (json['Events'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
  );
}