SourceRevision.fromJson constructor

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

Implementation

factory SourceRevision.fromJson(Map<String, dynamic> json) => SourceRevision(
      source: Source.fromJson(Map.from(json['source'])),
      version: json['version'],
      productType: json['productType'],
      operatingSystemVersion: OperatingSystemVersion.fromJson(
        Map.from(json['operatingSystemVersion']),
      ),
    );