ResponseSecurityCodes enum Null safety

ResponseSecurityCodes Available errors.

tampered used when current package signature doesn't match with the one you think should be (both iOs and Android)

notTampered used when current package signature does match with the one you think should be (both iOs and Android)

genericError simple generic error

unavailable if you ask for a specific method and it's not available (maybe for the specific platform, like FlutterSecurity.hasBundleBeenCompromised() that isn't available on Android)

missingParametersError when you ask for a method that needs a parameter and it cant find it

Constants

genericError → const ResponseSecurityCodes
const ResponseSecurityCodes(2)
missingParametersError → const ResponseSecurityCodes
const ResponseSecurityCodes(4)
notTampered → const ResponseSecurityCodes
const ResponseSecurityCodes(1)
tampered → const ResponseSecurityCodes
const ResponseSecurityCodes(0)
unavailable → const ResponseSecurityCodes
const ResponseSecurityCodes(3)
values → const List<ResponseSecurityCodes>

A constant List of the values in this enum, in order of their declaration.

const List<ResponseSecurityCodes>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
override

Operators

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