SourceRevision.fromJson constructor

SourceRevision.fromJson(
  1. Map<String, dynamic> json
)

General constructor from JSON payload

Implementation

SourceRevision.fromJson(Map<String, dynamic> json)
    : source = Source.fromJson(json['source']),
      version = json['version'],
      productType = json['productType'],
      systemVersion = json['systemVersion'],
      operatingSystem = OperatingSystem.fromJson(json['operatingSystem']);