Profile.fromJson constructor
Implementation
factory Profile.fromJson(Map<String, dynamic> json) {
return Profile(
coins: List.from(json['coins'])
.map((coin) => Balance.fromJSON(coin))
.toList(),
address: json['address'],
username: json['username'],
items: List.from(json['items'])
.map((item) => Item.create()..mergeFromProto3Json(item))
.toList(),
stripeExists: json['stripeExists'],
supportedCoins: List<String>.from(json['supportedCoins']),
);
}