buildDeclarationsForClass method
FutureOr<void>
buildDeclarationsForClass(
- ClassDeclaration clazz,
- MemberDeclarationBuilder builder
Implementation
@override
FutureOr<void> buildDeclarationsForClass(ClassDeclaration clazz, MemberDeclarationBuilder builder) {
builder.declareInLibrary(DeclarationCode.fromString("import 'package:dio/dio.dart';"));
builder.declareInLibrary(DeclarationCode.fromString("import 'dart:core';"));
builder.declareInLibrary(DeclarationCode.fromString("import 'package:dio/src/options.dart';"));
}