BuiltImage.fromJson constructor

BuiltImage.fromJson(
  1. Map json_
)

Implementation

BuiltImage.fromJson(core.Map json_)
    : this(
        digest: json_.containsKey('digest')
            ? json_['digest'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        pushTiming: json_.containsKey('pushTiming')
            ? TimeSpan.fromJson(
                json_['pushTiming'] as core.Map<core.String, core.dynamic>)
            : null,
      );