Ozone.fromSession constructor
Ozone.fromSession(})
Returns the new instance of Ozone.
Implementation
factory Ozone.fromSession(
final Session session, {
final Map<String, String>? headers,
final Protocol? protocol,
final String? service,
final String? relayService,
final Duration? timeout,
final RetryConfig? retryConfig,
final GetClient? mockedGetClient,
final PostClient? mockedPostClient,
}) =>
_Ozone(
BlueskyServiceContext(
atproto: atp.ATProto.fromSession(
headers: headers,
session,
protocol: protocol,
service: service,
relayService: relayService,
timeout: timeout,
retryConfig: retryConfig,
mockedGetClient: mockedGetClient,
mockedPostClient: mockedPostClient,
),
headers: headers,
protocol: protocol,
service: service,
relayService: relayService,
session: session,
timeout: timeout,
retryConfig: retryConfig,
mockedGetClient: mockedGetClient,
mockedPostClient: mockedPostClient,
),
);