toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (nihii != null) {
    json[r'nihii'] = nihii;
  }
  if (bic != null) {
    json[r'bic'] = bic;
  }
  if (iban != null) {
    json[r'iban'] = iban;
  }
  if (bce != null) {
    json[r'bce'] = bce;
  }
  if (ssin != null) {
    json[r'ssin'] = ssin;
  }
  if (lastName != null) {
    json[r'lastName'] = lastName;
  }
  if (firstName != null) {
    json[r'firstName'] = firstName;
  }
  if (phoneNumber != null) {
    json[r'phoneNumber'] = phoneNumber;
  }
  if (conventionCode != null) {
    json[r'conventionCode'] = conventionCode;
  }
  json[r'isSpecialist'] = isSpecialist;
  return json;
}