APIPermission class
Constructors
-
APIPermission(String type, {bool enabled = true, DateTime? initTime, DateTime? endTime, Map<
String, Object> ? properties}) - APIPermission.fromJson(Map json)
-
factory
Properties
Methods
-
copy(
{bool? enabled, DateTime? initTime, DateTime? endTime, Map< String, Object> ? properties}) → APIPermission -
isEnabled(
{DateTime? now}) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
listFromJson(
Object? json) → List< APIPermission> -
normalizeType(
String type) → String -
validateType(
String type) → bool