InvoicePlan.fromJson constructor

InvoicePlan.fromJson(
  1. Object? json
)

Implementation

factory InvoicePlan.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return InvoicePlan(count: (map['count'] as num).toInt());
}