KeyFileConfig class

Application configuration

KeyFileConfig(
  generate, //set to true to generate new key file
  publicKey, //path to public key in c code or pem form
  privateKey //path to private key in pem form.
};
Annotations
  • @JsonSerializable.new(anyMap: true, checked: true)

Constructors

KeyFileConfig({bool generate = false, String? publicKey, String? privateKey})
Creates an instance of KeyFileConfig
const
KeyFileConfig.fromJson(Map json)
Creates KeyFileConfig from json
factory

Properties

generate bool
Specifies weather to generate siging key file
final
hashCode int
The hash code for this object.
no setterinherited
privateKey String?
Path to private key
final
publicKey String?
Path to public key
final
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>
Creates Map from KeyFileConfig
toString() String
Converts KeyFileConfig to String
override

Operators

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