KeyView class

Constructors

KeyView({String? createdAt, String? fingerprint, String? id, String? publicKey, String? title})
Returns a new KeyView instance.

Properties

createdAt ↔ String?
CreatedAt is RFC 3339 UTC.
getter/setter pair
fingerprint ↔ String?
Fingerprint is the key's SHA256 fingerprint ("SHA256:…"), globally unique and the handle SSH auth resolves a presented key by.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
id ↔ String?
ID is the key's identifier ("gitkey_…"), the handle to delete it by.
getter/setter pair
publicKey ↔ String?
PublicKey is the canonical OpenSSH authorized-key line as stored.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title ↔ String?
Title is the key's label — the caller's, or the comment on the key line.
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) → KeyView?
Returns a new KeyView instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<KeyView>
mapFromJson(dynamic json) → Map<String, KeyView>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<KeyView>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.