forked from eatvio/eatvio_app
28 lines
500 B
Dart
28 lines
500 B
Dart
import 'package:freezed_annotation/freezed_annotation.dart';
|
|
|
|
part 'oauth_verification_request.freezed.dart';
|
|
part 'oauth_verification_request.g.dart';
|
|
|
|
@freezed
|
|
abstract class OAuthVerificationRequest with _$OAuthVerificationRequest {
|
|
const factory OAuthVerificationRequest({String? email, String? phone}) = _OAuthVerificationRequest;
|
|
|
|
factory OAuthVerificationRequest.fromJson(Map<String, dynamic> json) => _$OAuthVerificationRequestFromJson(json);
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|