PagespeedVersion.fromJson constructor

PagespeedVersion.fromJson(
  1. Map json_
)

Implementation

PagespeedVersion.fromJson(core.Map json_)
    : this(
        major:
            json_.containsKey('major') ? json_['major'] as core.String : null,
        minor:
            json_.containsKey('minor') ? json_['minor'] as core.String : null,
      );