BuildVersion.fromJson constructor

BuildVersion.fromJson(
  1. Map json_
)

Implementation

BuildVersion.fromJson(core.Map json_)
    : this(
        metadata: json_.containsKey('metadata')
            ? json_['metadata'] as core.Map<core.String, core.dynamic>
            : null,
        version: json_.containsKey('version')
            ? SemanticVersion.fromJson(
                json_['version'] as core.Map<core.String, core.dynamic>)
            : null,
      );