toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.idNumber != null) {
    json[r'idNumber'] = this.idNumber;
  } else {
    json[r'idNumber'] = null;
  }
  if (this.idState != null) {
    json[r'idState'] = this.idState;
  } else {
    json[r'idState'] = null;
  }
  if (this.idType != null) {
    json[r'idType'] = this.idType;
  } else {
    json[r'idType'] = null;
  }
  return json;
}