ProjectIdentity class

The package that stands for the whole repository, and its picture.

Both are required, and neither does anything without the other: icon is what a window shows, and package is where that file is.

Constructors

ProjectIdentity({required Pkg package, required String icon})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → String
The picture the window and the Dock show for this repository, relative to package's root — 'logo.png', 'assets/brand/mark.png', 'macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_1024.png'.
final
package → Pkg
The package icon is found in: the file is resolved against its root, and the tooltip over the window's picture names it.
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, Object?>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Methods

fromJson(Map<String, Object?> json) → ProjectIdentity?
Tolerant of everything except a wrong shape, like every other decoder that reads a manifest a previous version of flutterware wrote.