Skip to content

Value of optional type 'ConsentConfigurable?' must be unwrapped to refer to member 'consentStatus' of wrapped base type 'ConsentConfigurable' In Migrator.swift #10

@pawarn

Description

@pawarn

I'm using below flutter and Dart version

Flutter 2.2.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 02c026b03c (13 days ago) • 2021-05-27 12:24:44 -0700
Engine • revision 0fdb562ac8
Tools • Dart 2.13.1

Tealium Version: tealium: ^2.0.0

Value of optional type 'ConsentConfigurable?' must be unwrapped to refer to member 'consentStatus' of wrapped base type 'ConsentConfigurable'

Chain the optional using '?' to access member 'consentStatus' only for non-'nil' base values

Force-unwrap using '!' to abort execution if the optional value contains 'nil'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions