toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var boardId = this.boardId;
  var feature = this.feature;
  var enabling = this.enabling;

  final json = <String, Object?>{};
  if (boardId != null) {
    json[r'boardId'] = boardId;
  }
  if (feature != null) {
    json[r'feature'] = feature;
  }
  json[r'enabling'] = enabling;
  return json;
}