PackageVersionHistory.fromJson constructor

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

Implementation

factory PackageVersionHistory.fromJson(Map<String, dynamic> json) {
  return PackageVersionHistory(
    commitMessage: json['CommitMessage'] as String?,
    createdAt: timeStampFromJson(json['CreatedAt']),
    packageVersion: json['PackageVersion'] as String?,
  );
}