2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2026-04-03 17:58:21 +00:00
This commit is contained in:
2022-08-08 20:31:35 +03:00
parent f5d3ea9ee5
commit 69f16dae18
4 changed files with 27 additions and 17 deletions

View File

@@ -86,9 +86,9 @@ class Func {
final List<Arg> argsType;
//final bool isNullable;
final String? annotation;
final bool isStatic;
const Func(this.name, this.returnType, this.argsType,
[this.annotation = null]);
[this.annotation = null, this.isStatic = false]);
}
class Arg {

View File

@@ -221,6 +221,7 @@ class TypeTemplate {
i,
fi.name,
false,
fi.isStatic,
args,
RepresentationType.fromType(fi.returnType) ??
RepresentationType.Void,