SpaceMetadata.fromJson constructor

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

Implementation

factory SpaceMetadata.fromJson(Map<String, Object?> json) {
  return SpaceMetadata(
    labels: json[r'labels'] != null
        ? LabelArray.fromJson(json[r'labels']! as Map<String, Object?>)
        : null,
    expandable: json[r'_expandable'] as Map<String, Object?>?,
  );
}