CustomerCashBalance.fromJson constructor

CustomerCashBalance.fromJson(
  1. Object? json
)

Implementation

factory CustomerCashBalance.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return CustomerCashBalance(
      settings: map['settings'] == null
          ? null
          : CustomerSettings.fromJson(map['settings']));
}