allFlags method Null safety

Future<Map<String, dynamic>> allFlags()

Returns a map of all feature flags for the current user. No events are sent to LaunchDarkly.

Implementation

Future<Map<String, dynamic>> allFlags() async {
  Map<String, dynamic> allFlags =
      Map<String, dynamic>.from(await _channel.invokeMethod('allFlags'));
  return allFlags;
}