hasBody property

bool get hasBody

Implementation

bool get hasBody =>
    data != null && data.toString().isNotEmpty && data.toString() != '{}';