toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (activationUpdateTime != null)
        'activationUpdateTime': activationUpdateTime!,
      if (active != null) 'active': active!,
      if (displayName != null) 'displayName': displayName!,
      if (name != null) 'name': name!,
      if (phraseMatchRuleGroups != null)
        'phraseMatchRuleGroups': phraseMatchRuleGroups!,
      if (revisionCreateTime != null)
        'revisionCreateTime': revisionCreateTime!,
      if (revisionId != null) 'revisionId': revisionId!,
      if (roleMatch != null) 'roleMatch': roleMatch!,
      if (type != null) 'type': type!,
      if (updateTime != null) 'updateTime': updateTime!,
      if (versionTag != null) 'versionTag': versionTag!,
    };