Balance.fromJson constructor Null safety

Balance.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Balance.fromJson(Map<String, dynamic> json) => Balance(
      balance: json["balance"],
    );