toJson method

Map<String, dynamic> toJson()

Implementation

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