RequestTokenResponse.fromJson(Map<String, Object?> json) : sid = json['sid'] as String, submitUrl = ((v) => v != null ? Uri.parse(v as String) : null)(json['submit_url']);