connectionInfo property Null safety

Map<String, dynamic>? connectionInfo

Information about the client connection.

Implementation

Map<String, dynamic>? get connectionInfo {
  return _connectionInfo == null
      ? null
      : UnmodifiableMapView(_connectionInfo!);
}