toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.phoneClient != null) {
    json[r'phoneClient'] = this.phoneClient;
  } else {
    json[r'phoneClient'] = null;
  }
  if (this.montantTransaction != null) {
    json[r'montantTransaction'] = this.montantTransaction;
  } else {
    json[r'montantTransaction'] = null;
  }
  if (this.longTransaction != null) {
    json[r'longTransaction'] = this.longTransaction;
  } else {
    json[r'longTransaction'] = null;
  }
  if (this.latTransaction != null) {
    json[r'latTransaction'] = this.latTransaction;
  } else {
    json[r'latTransaction'] = null;
  }
  if (this.motifTransaction != null) {
    json[r'motifTransaction'] = this.motifTransaction;
  } else {
    json[r'motifTransaction'] = null;
  }
  if (this.requestId != null) {
    json[r'requestId'] = this.requestId;
  } else {
    json[r'requestId'] = null;
  }
  if (this.adresseIp != null) {
    json[r'adresseIp'] = this.adresseIp;
  } else {
    json[r'adresseIp'] = null;
  }
  if (this.phoneDeposant != null) {
    json[r'phoneDeposant'] = this.phoneDeposant;
  } else {
    json[r'phoneDeposant'] = null;
  }
  if (this.nomDeposant != null) {
    json[r'nomDeposant'] = this.nomDeposant;
  } else {
    json[r'nomDeposant'] = null;
  }
  if (this.prenomDeposant != null) {
    json[r'prenomDeposant'] = this.prenomDeposant;
  } else {
    json[r'prenomDeposant'] = null;
  }
  if (this.typePieceDeposant != null) {
    json[r'typePieceDeposant'] = this.typePieceDeposant;
  } else {
    json[r'typePieceDeposant'] = null;
  }
  if (this.numeroPieceDeposant != null) {
    json[r'numeroPieceDeposant'] = this.numeroPieceDeposant;
  } else {
    json[r'numeroPieceDeposant'] = null;
  }
  return json;
}