toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
    json[r'iccid'] = this.iccid;
    json[r'mcc'] = this.mcc;
  if (this.mnc != null) {
    json[r'mnc'] = this.mnc;
  } else {
    json[r'mnc'] = null;
  }
    json[r'location'] = this.location;
    json[r'network'] = this.network;
    json[r'occurredAt'] = this.occurredAt.toUtc().toIso8601String();
  return json;
}