PhoneNumberCapabilities.fromJson constructor

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

Implementation

factory PhoneNumberCapabilities.fromJson(Map<String, dynamic> json) {
  return PhoneNumberCapabilities(
    inboundCall: json['InboundCall'] as bool?,
    inboundMMS: json['InboundMMS'] as bool?,
    inboundSMS: json['InboundSMS'] as bool?,
    outboundCall: json['OutboundCall'] as bool?,
    outboundMMS: json['OutboundMMS'] as bool?,
    outboundSMS: json['OutboundSMS'] as bool?,
  );
}