import method
Define the actual import code. path is passed relative to lib, baseName is the filename, and className is the filename converted to Pascal case.
実際のインポートコードを定義します。pathにlibからの相対パス、baseNameにファイル名が渡され、classNameにファイル名をパスカルケースに変換した値が渡されます。
Implementation
@override
String import(String path, String baseName, String className) {
return """
/* eslint indent: off */
/* eslint max-len: off */
/* eslint @typescript-eslint/no-explicit-any: off */
import * as m from "@mathrunet/masamune";
import * as functions from "firebase-functions/v2";
""";
}