class FSFlagCollection
implements IFSFlagCollection
import { FSFlagCollection } from "https://deno.land/x/flagship_io_js_sdk@4.0.4/flag/index.ts";
Represents a collection of flags.
Constructors
new
FSFlagCollection(param: { visitor?: VisitorDelegate; flags?: Map<string, IFSFlag>; })Creates a new instance of FSFlagCollection.
Properties
private
_flags: Map<string, IFSFlag>private
optional
_visitor: VisitorDelegateMethods
exposeAll(): Promise<void>
filter(predicate: () => boolean): IFSFlagCollection
forEach(callbackfn: () => void): void
getMetadata(): Map<string, IFSFlagMetadata>
has(key: string): boolean
keys(): Set<string>
[Symbol.iterator](): Iterator<[string, IFSFlag]>