BootloaderConfig class

Bootloader configuration

BootloaderConfig(
  path, //path to bootloader file
  version, //version of the bootloader defaults to 0xFFFFFFFF
};
Annotations
  • @JsonSerializable.new(anyMap: true, checked: true)

Constructors

BootloaderConfig({String? path, int version = 0xFFFFFFFF})
Creates an instance of BootloaderConfig
const
BootloaderConfig.fromJson(Map json)
Creates BootloaderConfig from json
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
path → String?
Path to bootloader
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
version → int
manifest.json's background_color
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Creates Map from BootloaderConfig
toString() → String
Converts BootloaderConfig to String
override

Operators

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