Part.fromJson constructor

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

Implementation

Part.fromJson(Map<String, dynamic> json) : super.fromJson(json) {
  id = json['id'];
  name = json['name'];
  alias = json['alias'];
  partNumber = json['part_number'];
}