BuildConfig class

Represents build-specific information.

This class encapsulates details about a specific build, including its ID, the branch it was built from, and the commit hash. It provides methods for converting between JSON and Dart objects for data persistence and serialization.

Constructors

BuildConfig({required String buildId, required String branchName, required String commitHash})
Creates a BuildConfig instance.
BuildConfig.fromJson(Map<String, dynamic> json)
Creates a BuildConfig instance from a JSON map.
factory

Properties

branchName String
The name of the branch the build was created from.
final
buildId String
The unique identifier for the build.
final
commitHash String
The commit hash associated with the build.
final
hashCode int
The hash code for this object.
no setterinherited
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>
Converts this BuildConfig instance to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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