initializeGooglePay static method

Future initializeGooglePay(
  1. String squareLocationId,
  2. int environment
)

Implementation

static Future initializeGooglePay(
    String squareLocationId, int environment) async {
  assert(
      squareLocationId.isNotEmpty, 'squareLocationId should not be empty.');
  var params = <String, dynamic>{
    'environment': environment,
    'squareLocationId': squareLocationId,
  };
  await _channel.invokeMethod('initializeGooglePay', params);
}