mirror of
https://github.com/esiur/esiur-dart.git
synced 2025-05-06 04:02:57 +00:00
args
This commit is contained in:
parent
8959f52f6e
commit
e864b1914a
@ -57,8 +57,12 @@ class Prop {
|
||||
//final bool isNullable;
|
||||
final String? readAnnotation;
|
||||
final String? writeAnnotation;
|
||||
final bool recordable;
|
||||
|
||||
const Prop(this.name, this.type,
|
||||
[this.readAnnotation = null, this.writeAnnotation = null]);
|
||||
[this.readAnnotation = null,
|
||||
this.writeAnnotation = null,
|
||||
this.recordable = false]);
|
||||
}
|
||||
|
||||
class Evt {
|
||||
@ -83,11 +87,11 @@ class Const {
|
||||
class Func {
|
||||
final String name;
|
||||
final Type returnType;
|
||||
final List<Arg> argsType;
|
||||
final List<Arg> args;
|
||||
//final bool isNullable;
|
||||
final String? annotation;
|
||||
final bool isStatic;
|
||||
const Func(this.name, this.returnType, this.argsType,
|
||||
const Func(this.name, this.returnType, this.args,
|
||||
[this.annotation = null, this.isStatic = false]);
|
||||
}
|
||||
|
||||
|
@ -205,7 +205,7 @@ class TypeTemplate {
|
||||
for (var i = 0; i < funcs.length; i++) {
|
||||
var fi = funcs[i];
|
||||
|
||||
List<ArgumentTemplate> args = fi.argsType
|
||||
List<ArgumentTemplate> args = fi.args
|
||||
.asMap()
|
||||
.entries
|
||||
.map((arg) => ArgumentTemplate(
|
||||
|
@ -1,6 +1,6 @@
|
||||
name: esiur
|
||||
description: Distributed Object Framework.
|
||||
version: 2.1.1
|
||||
version: 2.1.2
|
||||
#author: Ahmed Zamil <ahmed@esiur.com>
|
||||
homepage: https://github.com/esiur/esiur-dart
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user