RegistrationAt.fromJson constructor

RegistrationAt.fromJson(
  1. Object? json
)

Implementation

factory RegistrationAt.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return RegistrationAt(
    standard: map['standard'] == null
        ? null
        : TaxProductRegistrationsResourceCountryOptionsEuStandard.fromJson(
            map['standard']),
    type: TaxProductRegistrationsResourceCountryOptionsEuropeType.fromJson(
        map['type']),
  );
}