OfferingStatus.fromJson constructor
Implementation
factory OfferingStatus.fromJson(Map<String, dynamic> json) {
return OfferingStatus(
effectiveOn: timeStampFromJson(json['effectiveOn']),
offering: json['offering'] != null
? Offering.fromJson(json['offering'] as Map<String, dynamic>)
: null,
quantity: json['quantity'] as int?,
type: (json['type'] as String?)?.toOfferingTransactionType(),
);
}