toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (action != null) 'action': action!,
      if (containerImage != null) 'containerImage': containerImage!,
      if (createTime != null) 'createTime': createTime!,
      if (framework != null) 'framework': framework!,
      if (snapshot != null) 'snapshot': snapshot!,
      if (state != null) 'state': state!,
      if (targetVersion != null) 'targetVersion': targetVersion!,
      if (version != null) 'version': version!,
      if (vmImage != null) 'vmImage': vmImage!,
    };