toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  if (this.mtls != null) {
    json[r'mtls'] = this.mtls;
  } else {
    json[r'mtls'] = null;
  }
  if (this.service != null) {
    json[r'service'] = this.service;
  } else {
    json[r'service'] = null;
  }
  if (this.status != null) {
    json[r'status'] = this.status;
  } else {
    json[r'status'] = null;
  }
  return json;
}