v1EmailAuthResult.fromJson constructor

v1EmailAuthResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory v1EmailAuthResult.fromJson(Map<String, dynamic> json) {
  final _userId = json['userId'] as String;
  final _apiKeyId = json['apiKeyId'] as String;
  return v1EmailAuthResult(
    userId: _userId,
    apiKeyId: _apiKeyId,
  );
}