toJson method
Implementation
Map<String, dynamic> toJson() => {
'schemaType': schemaType,
'reactComponent': reactComponent,
'flutterWidget': flutterWidget,
if (description != null) 'description': description,
if (propMapping.isNotEmpty) 'propMapping': propMapping,
};