TargetRender.fromJson constructor

TargetRender.fromJson(
  1. Map json_
)

Implementation

TargetRender.fromJson(core.Map json_)
    : this(
        failureCause: json_.containsKey('failureCause')
            ? json_['failureCause'] as core.String
            : null,
        failureMessage: json_.containsKey('failureMessage')
            ? json_['failureMessage'] as core.String
            : null,
        metadata: json_.containsKey('metadata')
            ? RenderMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        renderingBuild: json_.containsKey('renderingBuild')
            ? json_['renderingBuild'] as core.String
            : null,
        renderingState: json_.containsKey('renderingState')
            ? json_['renderingState'] as core.String
            : null,
      );