toJson method
Converts this DisposeFunctionConfig to a JSON map.
Implementation
Map<String, dynamic> toJson() {
return <String, dynamic>{
'isInstance': isInstance,
'name': name,
if (importableType != null) 'importableType': importableType!.toJson(),
};
}