Amount.fromMap constructor

Amount.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Amount.fromMap(Map<String, dynamic> map) =>
    Amount(map["value"], Currency.fromMap(map["currency"]), map["metadata"]);