Map<String, dynamic> toMap() { return <String, dynamic>{ 'appId': appId, 'serviceId': serviceId, 'versionId': versionId, 'view': ?view, }; }