loadModel method
Loads a Live2D model into the native view identified by viewId.
modelDir must be an absolute filesystem directory; asset paths are
resolved on the Dart side before reaching this method.
modelFileName is the .model3.json entry file inside modelDir.
Resolves to true on success and false when the native side
rejects the model (corrupt files, missing dependencies, …). Throws
PlatformException for transport-level errors.
Implementation
Future<bool> loadModel({
required int viewId,
required String modelDir,
required String modelFileName,
}) {
throw UnimplementedError('loadModel() has not been implemented.');
}