toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final accountId = this.accountId;
  final active = this.active;
  final created = this.created;
  final eventDetails = this.eventDetails;
  final id = this.id;
  final internalWebPropertyId = this.internalWebPropertyId;
  final kind = this.kind;
  final name = this.name;
  final parentLink = this.parentLink;
  final profileId = this.profileId;
  final selfLink = this.selfLink;
  final type = this.type;
  final updated = this.updated;
  final urlDestinationDetails = this.urlDestinationDetails;
  final value = this.value;
  final visitNumPagesDetails = this.visitNumPagesDetails;
  final visitTimeOnSiteDetails = this.visitTimeOnSiteDetails;
  final webPropertyId = this.webPropertyId;
  return {
    'accountId': ?accountId,
    'active': ?active,
    'created': ?created?.toUtc().toIso8601String(),
    'eventDetails': ?eventDetails,
    'id': ?id,
    'internalWebPropertyId': ?internalWebPropertyId,
    'kind': ?kind,
    'name': ?name,
    'parentLink': ?parentLink,
    'profileId': ?profileId,
    'selfLink': ?selfLink,
    'type': ?type,
    'updated': ?updated?.toUtc().toIso8601String(),
    'urlDestinationDetails': ?urlDestinationDetails,
    'value': ?value,
    'visitNumPagesDetails': ?visitNumPagesDetails,
    'visitTimeOnSiteDetails': ?visitTimeOnSiteDetails,
    'webPropertyId': ?webPropertyId,
  };
}