hasSource property

bool get hasSource

Implementation

bool get hasSource =>
    file != null || (url != null && url != '') || fileBytes != null;