ListPhoneNumbersResponse.fromJson constructor
Implementation
factory ListPhoneNumbersResponse.fromJson(Map<String, dynamic> json) {
return ListPhoneNumbersResponse(
nextToken: json['NextToken'] as String?,
phoneNumbers: (json['PhoneNumbers'] as List?)
?.whereNotNull()
.map((e) => PhoneNumber.fromJson(e as Map<String, dynamic>))
.toList(),
);
}