ExternalModuleConfig.fromJson constructor

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

Implementation

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