fromJson static method

MultiFactorAuthResponse fromJson(
  1. dynamic json
)

Implementation

static MultiFactorAuthResponse fromJson(dynamic json) {
  return MultiFactorAuthResponse(
    imageUrl: uriDataFromString(json['imageUrl'] as String)!,
    totpSecret: json['totpSecret'] as String,
  );
}