AccountBacsDebitPaymentsSettings.fromJson constructor

AccountBacsDebitPaymentsSettings.fromJson(
  1. Object? json
)

Implementation

factory AccountBacsDebitPaymentsSettings.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return AccountBacsDebitPaymentsSettings(
    displayName:
        map['display_name'] == null ? null : (map['display_name'] as String),
    serviceUserNumber: map['service_user_number'] == null
        ? null
        : (map['service_user_number'] as String),
  );
}