toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final accountId = this.accountId;
  final action = this.action;
  final changeTime = this.changeTime;
  final fieldName = this.fieldName;
  final id = this.id;
  final kind = this.kind;
  final newValue = this.newValue;
  final objectId = this.objectId;
  final objectType = this.objectType;
  final oldValue = this.oldValue;
  final subaccountId = this.subaccountId;
  final transactionId = this.transactionId;
  final userProfileId = this.userProfileId;
  final userProfileName = this.userProfileName;
  return {
    'accountId': ?accountId,
    'action': ?action,
    'changeTime': ?changeTime?.toUtc().toIso8601String(),
    'fieldName': ?fieldName,
    'id': ?id,
    'kind': ?kind,
    'newValue': ?newValue,
    'objectId': ?objectId,
    'objectType': ?objectType,
    'oldValue': ?oldValue,
    'subaccountId': ?subaccountId,
    'transactionId': ?transactionId,
    'userProfileId': ?userProfileId,
    'userProfileName': ?userProfileName,
  };
}