Info class
Info contains versioning information. how we'll want to distribute that information.
Constructors
- Info({required String buildDate, required String compiler, required String gitCommit, required String gitTreeState, required String gitVersion, required String goVersion, required String major, required String minor, required String platform})
-
Default constructor.
const
-
Info.fromJson(Map<
String, dynamic> json) -
Creates a Info from JSON data.
factory
Properties
- buildDate → String
-
Build Date.
final
- compiler → String
-
Compiler.
final
- gitCommit → String
-
Git Commit.
final
- gitTreeState → String
-
Git Tree State.
final
- gitVersion → String
-
Git Version.
final
- goVersion → String
-
Go Version.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- major → String
-
Major.
final
- minor → String
-
Minor.
final
- platform → String
-
Platform.
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> - Converts a Info instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited