toJson method

  1. @override
Map<String, dynamic>? toJson(
  1. ToolbarOptions? object
)
override

Implementation

@override
Map<String, dynamic>? toJson(ToolbarOptions? object) {
  if (object == null) return null;

  return {
    'copy': object.copy,
    'cut': object.cut,
    'paste': object.paste,
    'selectAll': object.selectAll,
  };
}