toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var operations = this.operations;
  var details = this.details;
  var personalSpace = this.personalSpace;

  final json = <String, Object?>{};
  if (operations != null) {
    json[r'operations'] = operations;
  }
  if (details != null) {
    json[r'details'] = details;
  }
  if (personalSpace != null) {
    json[r'personalSpace'] = personalSpace;
  }
  return json;
}