toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (failureCause != null) 'failureCause': failureCause!,
      if (failureMessage != null) 'failureMessage': failureMessage!,
      if (metadata != null) 'metadata': metadata!,
      if (renderingBuild != null) 'renderingBuild': renderingBuild!,
      if (renderingState != null) 'renderingState': renderingState!,
    };