appRegistry
AppRegistry get appRegistry
Get AppRegistry from react-native
Implementation
AppRegistry get appRegistry {
final reg = reactNative['AppRegistry'];
return switch (reg) {
final JSObject r => AppRegistry._(r),
_ => throw StateError('AppRegistry not found'),
};
}