BlueskyChat.fromSession constructor
BlueskyChat.fromSession(})
Returns the new instance of BlueskyChat.
Implementation
factory BlueskyChat.fromSession(
final core.Session session, {
final Map<String, String>? headers,
final core.Protocol? protocol,
final String? service,
final String? relayService,
final Duration? timeout,
final core.RetryConfig? retryConfig,
final core.GetClient? getClient,
final core.PostClient? postClient,
}) => _BlueskyChat(
core.ServiceContext(
headers: {...?headers, ..._kBskyChatProxyHeaders},
protocol: protocol,
service: service,
relayService: relayService,
session: session,
timeout: timeout,
retryConfig: retryConfig,
getClient: getClient,
postClient: postClient,
),
atp.ATProto.fromSession(
headers: {...?headers, ..._kBskyChatProxyHeaders},
session,
protocol: protocol,
service: service,
relayService: relayService,
timeout: timeout,
retryConfig: retryConfig,
getClient: getClient,
postClient: postClient,
),
);