SourceCodeVerificationFlow.fromJson constructor

SourceCodeVerificationFlow.fromJson(
  1. Object? json
)

Implementation

factory SourceCodeVerificationFlow.fromJson(Object? json) {
  final map = (json as Map).cast<String, Object?>();
  return SourceCodeVerificationFlow(
    attemptsRemaining: (map['attempts_remaining'] as num).toInt(),
    status: (map['status'] as String),
  );
}