loadSplashAd function

Future<OceanResponse> loadSplashAd(
  1. {@required String codeId,
  2. @required bool debug}
)

Implementation

Future<OceanResponse> loadSplashAd(
    {@required String codeId, @required bool debug}) async {
  Map map = await _channel
      .invokeMethod<Map>('loadSplashAd', {'codeId': codeId, 'debug': debug});
  return OceanResponse.create('onResponse', map);
}