ModuleConfig.fromJson constructor

ModuleConfig.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory ModuleConfig.fromJson(Map<String, dynamic> json) {
  return ModuleConfig(
    isAbstract: json['isAbstract'] as bool,
    isMethod: json['isMethod'] as bool,
    type: ImportableType.fromJson(json['type']),
    initializerName: json['initializerName'] as String,
  );
}