PlacementDescription.fromJson constructor

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

Implementation

factory PlacementDescription.fromJson(Map<String, dynamic> json) {
  return PlacementDescription(
    attributes: (json['attributes'] as Map<String, dynamic>)
        .map((k, e) => MapEntry(k, e as String)),
    createdDate: nonNullableTimeStampFromJson(json['createdDate'] as Object),
    placementName: json['placementName'] as String,
    projectName: json['projectName'] as String,
    updatedDate: nonNullableTimeStampFromJson(json['updatedDate'] as Object),
  );
}