toJson method

  1. @override
Object toJson()

Implementation

@override
Object toJson() => {
  'parent': parent,
  'artifact': ?artifact?.toJson(),
  if (artifactId.isNotDefault) 'artifactId': artifactId,
};