AutoReloadConfigurationRequest.fromMap constructor

AutoReloadConfigurationRequest.fromMap(
  1. Map<String, dynamic> map
)

Creates an instance from a map

Implementation

factory AutoReloadConfigurationRequest.fromMap(Map<String, dynamic> map) {
  return AutoReloadConfigurationRequest(
    customerId: map['customerId'],
    enabled: map['enabled'],
    paymentMethodId: map['paymentMethodId'],
    reloadAmount: map['reloadAmount'],
    reloadThreshold: map['reloadThreshold'],
  );
}