SteamParam class
Parameter definition for steam api
- Available extensions
Constructors
- SteamParam.new({required String name, required String type, String typeFlat = ""})
- Creates a SteamParam. This constructor is used for manual SteamParam creation
-
SteamParam.fromJson(Map<
String, dynamic> json) - Creates a SteamParam from json
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String
-
name of the parameter
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ String
-
c type of the parameter
getter/setter pair
- typeFlat ↔ String
-
flat type of the parameter
getter/setter pair
Methods
-
generate(
{required IOSink fileSink, bool withDart = false, bool withFunctionDart = false, bool withFunctionC = false, bool withName = false, bool withCaller = false}) → void -
Available on SteamParam, provided by the SteamFieldExtensions extension
Generates necessary code for a SteamParam -
generateImport(
{required IOSink fileSink, Set< String> enumSet = const {}, Set<String> structSet = const {}, Set<String> callbackStructSet = const {}, Set<String> interfaceSet = const {}}) → void -
Available on SteamParam, provided by the SteamFieldExtensions extension
Generates necessary imports for a SteamParam -
generateString(
{bool withDart = false, bool withFunctionDart = false, bool withFunctionC = false, bool withName = false, bool withCaller = false}) → String -
Available on SteamParam, provided by the SteamFieldExtensions extension
Generates necessary code for a SteamParam as String -
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