SpaceIcon.fromJson constructor

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

Implementation

factory SpaceIcon.fromJson(Map<String, Object?> json) {
  return SpaceIcon(
    path: json[r'path'] as String?,
  );
}