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