ClimateProduct class final

ClimateRemovalsProducts

A Climate product represents a type of carbon removal unit available for reservation. You can retrieve it to see the current price and availability.

Implemented types

Constructors

ClimateProduct({required DateTime created, required Map<String, ClimateRemovalsProductsPrice> currentPricesPerMetricTon, int? deliveryYear, required String id, required bool livemode, required String metricTonsAvailable, required String name, required List<ClimateSupplier> suppliers})
ClimateRemovalsProducts
const
ClimateProduct.fromJson(Object? json)
factory

Properties

created → DateTime
final
currentPricesPerMetricTon → Map<String, ClimateRemovalsProductsPrice>
final
deliveryYear → int?
final
hashCode → int
The hash code for this object.
no setterinherited
id → String
The ID of the ClimateProduct.
final
livemode → bool
final
metricTonsAvailable → String
final
name → String
final
object → String
The resource's type.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
suppliers → List<ClimateSupplier>
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, Object?>
override
toString() → String
A string representation of this object.
override

Operators

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

Static Methods

encode<V>(ClimateProduct instance, Encoder<V> encoder) → V
override