effectiveSize property

int get effectiveSize

Implementation

int get effectiveSize =>
    size ??
    (payload is String
        ? (payload as String).length
        : payload.toString().length);