PlaybookNative typedef

PlaybookNative = Future<void> Function({required String id, String? locale, required String name, String? theme})

Asks Metro to capture the whole screen for the shot id, and completes once it has. Throws with the reason when it can't.

Implementation

typedef PlaybookNative = Future<void> Function({
  required String id,
  required String name,
  String? locale,
  String? theme,
});