toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      'command': command,
      'commandArguments':
          commandArguments != null ? jsonEncode(commandArguments) : null,
      'resultCode': resultCode,
    };