IMCommand.fromJson constructor
Implementation
factory IMCommand.fromJson(Map<String, dynamic> data) {
return IMCommand(
action: data['action'],
module: data['module'],
from: data['from']?.toString(),
to: data['to']?.toString(),
timestamp: data['timestamp'],
);
}