Condition.fromJson constructor

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

Implementation

factory Condition.fromJson(Map<String, Object?> json) => Condition(
      amount: money.Amount.fromJson(
        (((json['minimum_order_amount'] as Map)['amount']) as Map)
            .cast<String, Object?>(),
      ),
    );