ChildPage.fromJson constructor

ChildPage.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ChildPage.fromJson(Map<String, Object?> json) {
  return ChildPage(
    id: json[r'id'],
    status: json[r'status'] as String?,
    title: json[r'title'] as String?,
    spaceId: json[r'spaceId'],
    childPosition: (json[r'childPosition'] as num?)?.toInt(),
  );
}