ServiceClass constructor

ServiceClass([
  1. Map<String, FuncClass> fields = const {}
])

Implementation

ServiceClass([Map<String, FuncClass> fields = const {}]) {
  _fields = fields.entries.toList();
  _fields.sort(
    (a, b) => idlLabelToId(a.key).toInt() - idlLabelToId(b.key).toInt(),
  );
}