SteamMethod class
Method definition for steam api
- Available extensions
Constructors
-
SteamMethod.new({required String name, required String nameFlat, required String returnType, List<
SteamParam> params = const [], String returnTypeFlat = "", String callResult = "", String callback = ""}) - Creates a SteamMethod. This constructor is used for manual SteamMethod creation
-
SteamMethod.fromJson(Map<
String, dynamic> json) - Creates a SteamMethod from json
Properties
- callback ↔ String
-
callback of the method in order to resolve the callback struct
getter/setter pair
- callResult ↔ String
-
callResult of the method to be used with asynchrous apis
getter/setter pair
- friendlyName → String
-
Available on SteamMethod, provided by the SteamMethodExtensions extension
darty name of a steam method nameno setter - hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
name of the method
getter/setter pair
- nameFlat ↔ String
-
flat name of accessor in order to lookup symbol in the library
getter/setter pair
-
params
↔ List<
SteamParam> -
list of SteamParams of the method
getter/setter pair
- returnType ↔ String
-
c return type of the method
getter/setter pair
- returnTypeFlat ↔ String
-
flat return type of the method
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
generate(
{required IOSink fileSink, required String owner, bool isStatic = false}) → void -
Available on SteamMethod, provided by the SteamMethodExtensions extension
Generates necessary code for calling lookup functions for SteamMethod -
generateImport(
{required IOSink fileSink, Set< String> enumSet = const {}, Set<String> structSet = const {}, Set<String> callbackStructSet = const {}, Set<String> interfaceSet = const {}}) → void -
Available on SteamMethod, provided by the SteamMethodExtensions extension
Generates necessary import for a SteamMethod -
generateLookup(
{required IOSink fileSink, required String owner, bool isStatic = false}) → void -
Available on SteamMethod, provided by the SteamMethodExtensions extension
Generates necessary code for lookup functions for SteamMethod -
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