QuickPreviewResponse.fromJson constructor

QuickPreviewResponse.fromJson(
  1. Map json_
)

Implementation

QuickPreviewResponse.fromJson(core.Map json_)
    : this(
        compilerError: json_.containsKey('compilerError')
            ? json_['compilerError'] as core.bool
            : null,
        containerVersion: json_.containsKey('containerVersion')
            ? ContainerVersion.fromJson(json_['containerVersion']
                as core.Map<core.String, core.dynamic>)
            : null,
        syncStatus: json_.containsKey('syncStatus')
            ? SyncStatus.fromJson(
                json_['syncStatus'] as core.Map<core.String, core.dynamic>)
            : null,
      );