toJson method

Map toJson()

Implementation

Map toJson() => {
      'id': id,
      'command': '$command',
    };