DescribeEventConfigurationsResponse.fromJson constructor

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

Implementation

factory DescribeEventConfigurationsResponse.fromJson(
    Map<String, dynamic> json) {
  return DescribeEventConfigurationsResponse(
    creationDate: timeStampFromJson(json['creationDate']),
    eventConfigurations:
        (json['eventConfigurations'] as Map<String, dynamic>?)?.map((k, e) =>
            MapEntry(k.toEventType(),
                Configuration.fromJson(e as Map<String, dynamic>))),
    lastModifiedDate: timeStampFromJson(json['lastModifiedDate']),
  );
}