factory Member.fromJson(Map<String, dynamic> json) => Member( json['shape'] as String?, json['flattened'] as bool? ?? false, );