toJson method
Implementation
@override
Map<String, dynamic> toJson() => {
'status': status == MmWsActionResponseStatus.ok ? 'OK' : 'FAIL',
if (seqReply != null) 'seq_reply': seqReply,
if (data != null) 'data': {...data!},
if (error != null) 'error': {...error!},
};