getConnectionInformation static method Null safety

Future<LDConnectionInformation?> getConnectionInformation()

Returns information about the current state of the SDK's connection to the LaunchDarkly.

See LDConnectionInformation for the available information.

Implementation

static Future<LDConnectionInformation?> getConnectionInformation() async {
  Map<String, dynamic>? result = await _channel.invokeMapMethod('getConnectionInformation');
  return LDConnectionInformation._fromCodecValue(result);
}