toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final lambdaArn = this.lambdaArn;
  final componentDependencies = this.componentDependencies;
  final componentLambdaParameters = this.componentLambdaParameters;
  final componentName = this.componentName;
  final componentPlatforms = this.componentPlatforms;
  final componentVersion = this.componentVersion;
  return {
    'lambdaArn': lambdaArn,
    if (componentDependencies != null)
      'componentDependencies': componentDependencies,
    if (componentLambdaParameters != null)
      'componentLambdaParameters': componentLambdaParameters,
    if (componentName != null) 'componentName': componentName,
    if (componentPlatforms != null) 'componentPlatforms': componentPlatforms,
    if (componentVersion != null) 'componentVersion': componentVersion,
  };
}