toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (frameworks != null) 'frameworks': frameworks!,
      if (launchStage != null) 'launchStage': launchStage!,
      if (name != null) 'name': name!,
      if (openSourceCategory != null)
        'openSourceCategory': openSourceCategory!,
      if (predictSchemata != null) 'predictSchemata': predictSchemata!,
      if (publisherModelTemplate != null)
        'publisherModelTemplate': publisherModelTemplate!,
      if (supportedActions != null) 'supportedActions': supportedActions!,
      if (versionId != null) 'versionId': versionId!,
      if (versionState != null) 'versionState': versionState!,
    };