fromJson method
Implementation
@override
ToolbarOptions? fromJson(Map<String, dynamic>? json) {
if (json == null) return null;
return ToolbarOptions(
copy: (json['copy'] as bool),
cut: (json['cut'] as bool),
paste: (json['paste'] as bool),
selectAll: (json['selectAll'] as bool),
);
}