GithubModelMasamuneAdapter class

MasamuneAdapter for utilizing GitHub models.

Please specify the GitHub model adapter for modelAdapter.

Githubのモデルを利用するためのMasamuneAdapter。

modelAdapterにGithubのモデルアダプターを指定してください。

Inheritance
  • Object
  • MasamuneAdapter
  • GithubModelMasamuneAdapter

Constructors

GithubModelMasamuneAdapter({required ModelAdapter modelAdapter, required AppRef appRef, AuthAdapter? debugAuthDapter, String githubCopilotApiVersion = "2025-10-22", Future<String?> onRetrieveDefaultOrganizationId()?, Future<void> onSaveDefaultOrganizationId(String organizationId)?})
MasamuneAdapter for utilizing GitHub models.
const

Properties

appRef → AppRef
Application reference.
final
debugAuthDapter → AuthAdapter?
Debug auth adapter.
final
githubCopilotApiVersion → String
GitHub Copilot API version.
final
hashCode → int
The hash code for this object.
no setterinherited
isTest → bool
If this is true, it indicates that test adapters are set in TestMasamuneAdapterScope.setTestAdapters and it is in test mode.
no setterinherited
loggerAdapters → List<LoggerAdapter>
Adapters can be defined to add logger functionality.
no setterinherited
masamuneAdapters → List<MasamuneAdapter>
You can define adapters to add features to the Masamune Framework.
no setterinherited
modelAdapter → ModelAdapter
Github model adapter.
final
Observers can be set up to monitor transitions between pages.
no setterinherited
onRetrieveDefaultOrganizationId → Future<String?> Function()?
On retrieve default organization id.
final
onSaveDefaultOrganizationId → Future<void> Function(String organizationId)?
On save default organization id.
final
priority → double
The priority of the adapter.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
runZonedGuarded → bool
If you set this to true, you can wrap runApp with runZonedGuarded.
no setterinherited

Methods

getAccessToken() → Future<String?>
Get access token.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBuildApp(BuildContext context, Widget app) → Widget
Widgets can be added during the build of MasamuneApp.
override
onBuildPage(BuildContext context, Widget page) → Widget
Returning Widget will build the widget.
inherited
onError(Object error, StackTrace stackTrace) → void
You can describe the process when runZonedGuarded is set to true.
inherited
onInitScope(MasamuneAdapter adapter) → void
Called when initializing MasamuneAdapterScope.
override
onMaybeBoot(BuildContext context) → FutureOr<void>
It may be called during application initialization.
inherited
onPreRunApp(WidgetsBinding binding) → FutureOr<void>
You can describe the process before runApp.
inherited
onRestarted() → FutureOr<void>
It may be called when the application is restarted.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

primary → GithubModelMasamuneAdapter
You can retrieve the GithubModelMasamuneAdapter first given by MasamuneAdapterScope.
no setter