instagramShare static method Null safety

Future<String?> instagramShare(
  1. {String type = 'image/*',
  2. required String path}
)

Implementation

static Future<String?> instagramShare(
    {String type = 'image/*', required String path}) async {
  return _channel.invokeMethod<String>('instagramShare', <String, dynamic>{
    'type': type,
    'path': path,
  });
}