RegisterKeyReq class
Constructors
- RegisterKeyReq({String? publicKey, String? title})
- Returns a new RegisterKeyReq instance.
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- publicKey ↔ String?
-
PublicKey is one OpenSSH authorized-key line ("ssh-ed25519 AAAA… you@host"). Required; a line that does not parse is refused and never stored.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title ↔ String?
-
Title labels the key in the console. Max 256 chars; when omitted the comment on the key line is used.
getter/setter pair
Methods
-
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.
override
Static Methods
-
fromJson(
dynamic value) → RegisterKeyReq? -
Returns a new RegisterKeyReq instance and imports its values from
valueif it's a Map, null otherwise. -
listFromJson(
dynamic json, {bool growable = false}) → List< RegisterKeyReq> -
mapFromJson(
dynamic json) → Map< String, RegisterKeyReq> -
mapListFromJson(
dynamic json, {bool growable = false}) → Map< String, List< RegisterKeyReq> >
Constants
-
requiredKeys
→ const Set<
String> - The list of required keys that must be present in a JSON.