factory CoinChange.fromMap(Map<String, dynamic> map) => CoinChange( map["coin_action"], CoinIdentifier.fromMap(map["coin_identifier"]));