toJson method

Map<String, dynamic> toJson()

Converts this BuildConfig instance to a JSON map.

This method serializes the BuildConfig object into a JSON representation that can be easily stored or transmitted.

Returns a Map containing the 'buildId', 'branchName', and 'commitHash' keys and their corresponding values.

Implementation

Map<String, dynamic> toJson() => {
      'buildId': buildId,
      'branchName': branchName,
      'commitHash': commitHash,
    };