projectObjects property

List<ProjectDataObject> get projectObjects

List of ProjectDataObjects that can be used to pass data from the project itself.

Currently supported ProjectDataObject:

  • TextObject - This can be used to pass the data in form of String. You can use ProjectDataObject.fromText to create TextObject
  • JsonObject - This can be used to pass the data in form of Json. You can use ProjectDataObject.fromJson to create JsonObject

Example:

 @override
 List<ProjectDataObject> get projectObjects =>
     [ProjectDataObject.fromText('Data in form of raw text'),
      ProejctDataObject.fromJson(
        {'Sample API 1': 'description and usage',
        'Sample API 2': 'description and usage'})
      ];

Implementation

List<ProjectDataObject> get projectObjects;