succeeded property

bool get succeeded

Whether the redirect carries a usable authorization code.

Implementation

bool get succeeded => code != null && code!.isNotEmpty && error == null;