SteamApi class
Holder class for steam_api.json
- Available extensions
Constructors
-
SteamApi.fromJson(Map<
String, dynamic> json) - Creates a SteamApi from json
Properties
-
callbackStructs
↔ List<
SteamStruct> -
List of callbacks in steam api definition
getter/setter pair
-
consts
↔ List<
SteamConst> -
List of constants in steam api definition
getter/setter pair
-
enums
↔ List<
SteamEnum> -
List of enums in steam api definition
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
interfaces
↔ List<
SteamInterface> -
List of interfaces in steam api definition
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
structs
↔ List<
SteamStruct> -
List of structs in steam api definition
getter/setter pair
-
typedefs
↔ List<
SteamTypedef> -
List of typedef in steam api definition
getter/setter pair
Methods
-
generate(
{required String path, required String target}) → Future< void> -
Available on SteamApi, provided by the SteamApiExtensions extension
This is entrypoint for code generation. Generates code according to the SteamApi definition by traversing all fields and emitting necessary code -
generateCallbackIdMap(
{required String path, required IOSink exportSink, Set< String> callbackStructSet = const {}}) → Future<void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates callback id map by type to make it easier to lookup callback ids -
generateDispatch(
{required String path, required IOSink exportSink, Set< String> enumSet = const {}, Set<String> structSet = const {}, Set<String> callbackStructSet = const {}}) → Future<void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates code for dispatch -
generateDl(
{required String path}) → Future< void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates code for accessing the library file -
generateSteamApi(
{required String path, required IOSink exportSink, Set< String> enumSet = const {}, Set<String> structSet = const {}, Set<String> callbackStructSet = const {}}) → Future<void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates code for common steam apis -
generateSteamGameServer(
{required String path, required IOSink exportSink, Set< String> enumSet = const {}, Set<String> structSet = const {}, Set<String> callbackStructSet = const {}}) → Future<void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates code for steam game server -
generateUnknownEnumValueException(
{required String path, required IOSink exportSink}) → Future< void> -
Available on SteamApi, provided by the SteamApiExtensions extension
Generates exception for enums -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited