Compatibilities class

The Compatibilities report of the current platform or the browser in case of web.

Annotations
  • @Freezed(fromJson: true, toJson: true)

Constructors

Compatibilities({@Default(false) bool isPlatformSupported, @Default(false) bool canSafeSecrets, @Default(false) bool canEncryptSecrets, @Default(false) bool hasZeroTouchSupport})
Create a new instance of Compatibilities.
const
factory

Properties

canEncryptSecrets bool
true when the secrets can be encrypted. Default value is false.
no setterinherited
canSafeSecrets bool
true when secrets can be stored. Default value is false.
no setterinherited
copyWith → $CompatibilitiesCopyWith<Compatibilities>
Create a copy of Compatibilities with the given fields replaced by the non-null parameter values.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasZeroTouchSupport bool
true when zero touch logins is supported. Default value is false.
no setterinherited
isPlatformSupported bool
true when the current platform is supported. Default value is false.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this Compatibilities to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

fromMap(Map<String, Object?>? map) Compatibilities?
Get the Compatibilities from a Map.