DisposeFunctionConfig.fromJson constructor
Implementation
factory DisposeFunctionConfig.fromJson(Map<String, dynamic> json) {
ImportableType? disposeFunction;
if (json['importableType'] != null) {
disposeFunction = ImportableType.fromJson(json['importableType']);
}
return DisposeFunctionConfig(
isInstance: json['isInstance'] as bool,
name: json['name'] as String,
importableType: disposeFunction,
);
}