ChildPage.fromJson constructor

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

Implementation

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