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 id = this.id;
  final index = this.index;
  final kind = this.kind;
  final maxValue = this.maxValue;
  final minValue = this.minValue;
  final name = this.name;
  final parentLink = this.parentLink;
  final scope = this.scope;
  final selfLink = this.selfLink;
  final type = this.type;
  final updated = this.updated;
  final webPropertyId = this.webPropertyId;
  return {
    'accountId': ?accountId,
    'active': ?active,
    'created': ?created?.toUtc().toIso8601String(),
    'id': ?id,
    'index': ?index,
    'kind': ?kind,
    'max_value': ?maxValue,
    'min_value': ?minValue,
    'name': ?name,
    'parentLink': ?parentLink,
    'scope': ?scope,
    'selfLink': ?selfLink,
    'type': ?type,
    'updated': ?updated?.toUtc().toIso8601String(),
    'webPropertyId': ?webPropertyId,
  };
}