toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
  if (arguments != null) 'arguments': arguments!,
  if (definedInMaterial != null) 'definedInMaterial': definedInMaterial!,
  if (entryPoint != null) 'entryPoint': entryPoint!,
  if (environment != null) 'environment': environment!,
  if (type != null) 'type': type!,
};