loadFlutterAsset method

Future<void> loadFlutterAsset(
  1. String key
)

Loads the Flutter asset specified in the pubspec.yaml file.

Throws an ArgumentError if key is not part of the specified assets in the pubspec.yaml file.

Implementation

Future<void> loadFlutterAsset(String key) {
  assert(key.isNotEmpty);
  return _webViewPlatformController.loadFlutterAsset(key);
}