TInitOtpAuthResponse.fromJson constructor
Implementation
factory TInitOtpAuthResponse.fromJson(Map<String, dynamic> json) {
return TInitOtpAuthResponse(
activity: v1Activity.fromJson(json['activity'] as Map<String, dynamic>),
result: json.containsKey('result') && json['result'] != null ? v1InitOtpAuthResultV2.fromJson(json['result'] as Map<String, dynamic>) : null,
);
}