walletFromJson function Null safety

Wallet walletFromJson(
  1. String str
)

Implementation

Wallet walletFromJson(String str) => Wallet.fromJson(json.decode(str));