toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (configurationVersion != null)
        'configurationVersion': configurationVersion!,
      if (contextInfo != null) 'contextInfo': contextInfo!,
      if (createdAt != null) 'createdAt': createdAt!,
      if (description != null) 'description': description!,
      if (displayName != null) 'displayName': displayName!,
      if (entityMetaDataAsProperties != null)
        'entityMetaDataAsProperties': entityMetaDataAsProperties!,
      if (lastModifiedAt != null) 'lastModifiedAt': lastModifiedAt!,
      if (name != null) 'name': name!,
      if (policies != null) 'policies': policies!,
      if (resourceFiles != null) 'resourceFiles': resourceFiles!,
      if (resources != null) 'resources': resources!,
      if (revision != null) 'revision': revision!,
      if (sharedFlows != null) 'sharedFlows': sharedFlows!,
      if (type != null) 'type': type!,
    };