toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (listId != null) 'listId': listId!,
  if (nestingLevel != null) 'nestingLevel': nestingLevel!,
  if (textStyle != null) 'textStyle': textStyle!,
};