buy method

  1. @override
Future<List?> buy(
  1. String productId
)
override

Implementation

@override
Future<List?> buy(String productId) async {
  return await methodChannel
      .invokeMethod<List>('buy', {'productId': productId});
}