toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _json = <String, dynamic>{};
  if (apn != null) {
    _json[r'apn'] = apn;
  }
  if (registrationState != null) {
    _json[r'registrationState'] = registrationState;
  }
  if (operatorCode != null) {
    _json[r'operatorCode'] = operatorCode;
  }
  if (operatorName != null) {
    _json[r'operatorName'] = operatorName;
  }
  return _json;
}