toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (buildConfig != null) 'buildConfig': buildConfig!,
      if (buildType != null) 'buildType': buildType!,
      if (builder != null) 'builder': builder!,
      if (invocation != null) 'invocation': invocation!,
      if (materials != null) 'materials': materials!,
      if (metadata != null) 'metadata': metadata!,
    };