openSnaps method
Opens StorifyMe Snaps with the specified parameters.
userId: The user ID associated with StorifyMe Snaps.
snapName: (Optional) The name of the snap.
tags: (Optional) An iterable of tags associated with the snap.
Implementation
@override
Future<void> openSnaps(
{required String userId,
String? snapName,
Iterable<String>? tags}) async {
final map = <String, dynamic>{};
map[Params.USER_ID] = userId;
map[Params.SNAP_NAME] = snapName;
map[Params.TAGS] = tags;
await methodChannel.invokeMethod<void>(Method.OPEN_SNAPS, map);
}