getPlatformInfo () {
        const result = {};
        result.locations = this.locations;
        result.root = this.root;
        result.name = this.platform;
        result.version = Api.version();
        result.projectConfig = this._config;

        return result;
    }
Gets a CordovaPlatform object, that represents the platform structure.

@return  {CordovaPlatform}  A structure that contains the description of
  platform's file structure and other properties of platform.