Allows you to serialize object.
Map<String, dynamic> toJson() => { "data": data, "length": length, "status": status, "type": type, }.clearNulls();