toJson method

Map<String, Object?> toJson()

Implementation

Map<String, Object?> toJson() {
  var spaceContentStates = this.spaceContentStates;
  var customContentStates = this.customContentStates;

  final json = <String, Object?>{};
  json[r'spaceContentStates'] =
      spaceContentStates.map((i) => i.toJson()).toList();
  json[r'customContentStates'] =
      customContentStates.map((i) => i.toJson()).toList();
  return json;
}