AllocationUse.fromJson constructor

AllocationUse.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory AllocationUse.fromJson(
  Map<String, Object?> json,
) =>
    AllocationUse(
      id: json["id"] as String,
      amount: Amount.fromJson(
        (json["amount"] as Map).cast<String, Object?>(),
      ),
    );