TelephonyInfo.fromJson constructor

TelephonyInfo.fromJson(
  1. Map json_
)

Implementation

TelephonyInfo.fromJson(core.Map json_)
    : this(
        carrierName: json_.containsKey('carrierName')
            ? json_['carrierName'] as core.String
            : null,
        phoneNumber: json_.containsKey('phoneNumber')
            ? json_['phoneNumber'] as core.String
            : null,
      );