import 'package:equatable/equatable.dart'; import 'package:json_annotation/json_annotation.dart'; import 'package:model/oidc/converter/uri_converter.dart'; part 'oidc_link_dto.g.dart'; @UriConverter() @JsonSerializable() class OIDCLinkDto with EquatableMixin { final Uri rel; final Uri href; OIDCLinkDto(this.rel, this.href); factory OIDCLinkDto.fromJson(Map json) => _$OIDCLinkDtoFromJson(json); Map toJson() => _$OIDCLinkDtoToJson(this); @override List get props => [rel, href]; }