FeeLineItemInput.fromJson constructor

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

Implementation

factory FeeLineItemInput.fromJson(Map<String, Object?> json) =>
    FeeLineItemInput(
      type: LineItemType.fromJson(json["type"]),
      fee: FeeDetailsInput.fromJson(
        (json["fee"] as Map).cast<String, Object?>(),
      ),
    );