GetAuthStatusResponse.fromJson constructor

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

Implementation

factory GetAuthStatusResponse.fromJson(Map<String, dynamic> json) {
  return GetAuthStatusResponse(
    isAuthenticated: json['isAuthenticated'] as bool,
    authType: json['authType'] as String?,
    host: json['host'] as String?,
    login: json['login'] as String?,
    statusMessage: json['statusMessage'] as String?,
  );
}