ListSipMediaApplicationsResponse.fromJson constructor

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

Implementation

factory ListSipMediaApplicationsResponse.fromJson(Map<String, dynamic> json) {
  return ListSipMediaApplicationsResponse(
    nextToken: json['NextToken'] as String?,
    sipMediaApplications: (json['SipMediaApplications'] as List?)
        ?.whereNotNull()
        .map((e) => SipMediaApplication.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}