Child.fromJson constructor

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

Implementation

factory Child.fromJson(Map<String, dynamic> json) {
  return Child(
    id: json['Id'] as String?,
    type: (json['Type'] as String?)?.toChildType(),
  );
}