getFlags method

FlagCollection getFlags()
  • Returns: an instance of FSFlagCollection with flags

Implementation

FlagCollection getFlags() {
  Map<String, Flag> ret = {};

  this.modifications.forEach((keyItem, modifItem) {
    ret.addAll({keyItem: Flag(keyItem, this._visitorDelegate)});
  });
  return FlagCollection(this._visitorDelegate, ret);
}