toJson method

Map<String, Object?> toJson()

Implementation

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

  final json = <String, Object?>{};
  if (storage != null) {
    json[r'storage'] = storage.toJson();
  }
  if (editor2 != null) {
    json[r'editor2'] = editor2.toJson();
  }
  return json;
}