toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final annotations = this.annotations;
  final categories = this.categories;
  final createTime = this.createTime;
  final description = this.description;
  final desiredPostureId = this.desiredPostureId;
  final desiredPostureRevisionId = this.desiredPostureRevisionId;
  final etag = this.etag;
  final failureMessage = this.failureMessage;
  final name = this.name;
  final postureId = this.postureId;
  final postureRevisionId = this.postureRevisionId;
  final reconciling = this.reconciling;
  final state = this.state;
  final targetResource = this.targetResource;
  final updateTime = this.updateTime;
  return {
    'annotations': ?annotations,
    'categories': ?categories,
    'createTime': ?createTime,
    'description': ?description,
    'desiredPostureId': ?desiredPostureId,
    'desiredPostureRevisionId': ?desiredPostureRevisionId,
    'etag': ?etag,
    'failureMessage': ?failureMessage,
    'name': ?name,
    'postureId': ?postureId,
    'postureRevisionId': ?postureRevisionId,
    'reconciling': ?reconciling,
    'state': ?state,
    'targetResource': ?targetResource,
    'updateTime': ?updateTime,
  };
}