2
0
mirror of https://github.com/esiur/esiur-dart.git synced 2025-05-06 20:02:59 +00:00
This commit is contained in:
Esiur Project 2022-09-03 22:05:17 +03:00
parent 8959f52f6e
commit e864b1914a
3 changed files with 9 additions and 5 deletions

View File

@ -57,8 +57,12 @@ class Prop {
//final bool isNullable; //final bool isNullable;
final String? readAnnotation; final String? readAnnotation;
final String? writeAnnotation; final String? writeAnnotation;
final bool recordable;
const Prop(this.name, this.type, const Prop(this.name, this.type,
[this.readAnnotation = null, this.writeAnnotation = null]); [this.readAnnotation = null,
this.writeAnnotation = null,
this.recordable = false]);
} }
class Evt { class Evt {
@ -83,11 +87,11 @@ class Const {
class Func { class Func {
final String name; final String name;
final Type returnType; final Type returnType;
final List<Arg> argsType; final List<Arg> args;
//final bool isNullable; //final bool isNullable;
final String? annotation; final String? annotation;
final bool isStatic; 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]); [this.annotation = null, this.isStatic = false]);
} }

View File

@ -205,7 +205,7 @@ class TypeTemplate {
for (var i = 0; i < funcs.length; i++) { for (var i = 0; i < funcs.length; i++) {
var fi = funcs[i]; var fi = funcs[i];
List<ArgumentTemplate> args = fi.argsType List<ArgumentTemplate> args = fi.args
.asMap() .asMap()
.entries .entries
.map((arg) => ArgumentTemplate( .map((arg) => ArgumentTemplate(

View File

@ -1,6 +1,6 @@
name: esiur name: esiur
description: Distributed Object Framework. description: Distributed Object Framework.
version: 2.1.1 version: 2.1.2
#author: Ahmed Zamil <ahmed@esiur.com> #author: Ahmed Zamil <ahmed@esiur.com>
homepage: https://github.com/esiur/esiur-dart homepage: https://github.com/esiur/esiur-dart