Bucket.fromJson constructor

Bucket.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Bucket.fromJson(Map<String, dynamic> json) {
  return Bucket(
    ceilUSD: json['ceilUSD'],
    blockStamp: json['blockStamp'],
    withdrawals: json['withdrawals'],
    rateBlocks: json['rateBlocks'],
    rateWithdrawals: json['rateWithdrawals'],
    maxWithdrawals: json['maxWithdrawals'],
  );
}