init method

  1. @override
dynamic init(
  1. Map<String, dynamic> params
)
override

Initializes the payment sheet with the provided params.

Throws an UnimplementedError if the method is not implemented.

Implementation

@override
init(Map<String, dynamic> params) {
  methodChannel
      .invokeMethod<Map<dynamic, dynamic>>('init', {"params": params});
}