toJson method

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

Converts this into JSON representation share information about the available fields. Mostly used to support Fields on Widgetbook Cloud.

Implementation

@override
Map<String, dynamic> toJson() {
  return {
    'maxLines': maxLines,
  };
}