toJson method
Implementation
@override
Object toJson() => {
if (status != null) 'status': status!.toJson(),
if (data.isNotDefault) 'data': encodeList(data),
if (dataKeysWithError.isNotDefault)
'dataKeysWithError': encodeList(dataKeysWithError),
};