BatchUpdatePhoneNumberResponse.fromJson constructor

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

Implementation

factory BatchUpdatePhoneNumberResponse.fromJson(Map<String, dynamic> json) {
  return BatchUpdatePhoneNumberResponse(
    phoneNumberErrors: (json['PhoneNumberErrors'] as List?)
        ?.whereNotNull()
        .map((e) => PhoneNumberError.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}