GetAutoSnapshotsResult.fromJson constructor
Implementation
factory GetAutoSnapshotsResult.fromJson(Map<String, dynamic> json) {
return GetAutoSnapshotsResult(
autoSnapshots: (json['autoSnapshots'] as List?)
?.whereNotNull()
.map((e) => AutoSnapshotDetails.fromJson(e as Map<String, dynamic>))
.toList(),
resourceName: json['resourceName'] as String?,
resourceType: (json['resourceType'] as String?)?.toResourceType(),
);
}