FirebaseRules class

Firebase Rules annotation

Annotations
  • @Target({TargetKind.topLevelVariable})

Constructors

FirebaseRules({String rulesVersion = '2', required Service service, List<Function> functions = const [], List<Map<Enum, String>> enums = const []})
Constructor
const

Properties

enums List<Map<Enum, String>>
Maps of enums to their string values for code generation
final
functions List<Function>
Functions used in these rules
final
hashCode int
The hash code for this object.
no setterinherited
rulesVersion String
The rules version. Defaults to 2.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
service Service
The firebase service these rules are for
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited