SessionCustomerBalance.fromJson constructor

SessionCustomerBalance.fromJson(
  1. Object? json
)

Implementation

factory SessionCustomerBalance.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SessionCustomerBalance(
      bankTransfer: map['bank_transfer'] == null
          ? null
          : SessionBankTransfer.fromJson(map['bank_transfer']));
}