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