VmImage.fromJson constructor

VmImage.fromJson(
  1. Map json_
)

Implementation

VmImage.fromJson(core.Map json_)
    : this(
        family: json_.containsKey('family')
            ? json_['family'] as core.String
            : null,
        name: json_.containsKey('name') ? json_['name'] as core.String : null,
        project: json_.containsKey('project')
            ? json_['project'] as core.String
            : null,
      );