BillingMeterEventAdjustment.fromJson constructor

BillingMeterEventAdjustment.fromJson(
  1. Object? json
)

Implementation

factory BillingMeterEventAdjustment.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return BillingMeterEventAdjustment(
    livemode: (map['livemode'] as bool),
    status: BillingMeterEventAdjustmentStatus.fromJson(map['status']),
  );
}