errorCode property

String? get errorCode

error.code (unauthorized, invalid_token, validation_error...).

Implementation

String? get errorCode => error?['code'] as String?;