ConsumptionConfiguration.fromJson constructor
ConsumptionConfiguration.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ConsumptionConfiguration.fromJson(Map<String, dynamic> json) {
return ConsumptionConfiguration(
borrowConfiguration: json['BorrowConfiguration'] != null
? BorrowConfiguration.fromJson(
json['BorrowConfiguration'] as Map<String, dynamic>)
: null,
provisionalConfiguration: json['ProvisionalConfiguration'] != null
? ProvisionalConfiguration.fromJson(
json['ProvisionalConfiguration'] as Map<String, dynamic>)
: null,
renewType: (json['RenewType'] as String?)?.toRenewType(),
);
}