toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final computeTypesAllowed = this.computeTypesAllowed;
  final maximumBuildsAllowed = this.maximumBuildsAllowed;
  return {
    if (computeTypesAllowed != null)
      'computeTypesAllowed': computeTypesAllowed,
    if (maximumBuildsAllowed != null)
      'maximumBuildsAllowed': maximumBuildsAllowed,
  };
}