toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (dependencies != null) 'dependencies': dependencies!,
      if (hasDependencies != null) 'hasDependencies': hasDependencies!,
      if (isInstalled != null) 'isInstalled': isInstalled!,
      if (version != null) 'version': version!,
    };