Metadata.fromJson constructor

Metadata.fromJson(
  1. Map json_
)

Implementation

Metadata.fromJson(core.Map json_)
    : this(
        buildFinishedOn: json_.containsKey('buildFinishedOn')
            ? json_['buildFinishedOn'] as core.String
            : null,
        buildInvocationId: json_.containsKey('buildInvocationId')
            ? json_['buildInvocationId'] as core.String
            : null,
        buildStartedOn: json_.containsKey('buildStartedOn')
            ? json_['buildStartedOn'] as core.String
            : null,
        completeness: json_.containsKey('completeness')
            ? Completeness.fromJson(
                json_['completeness'] as core.Map<core.String, core.dynamic>)
            : null,
        reproducible: json_.containsKey('reproducible')
            ? json_['reproducible'] as core.bool
            : null,
      );