AudioShapeSet.fromJson constructor

AudioShapeSet.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory AudioShapeSet.fromJson(Map<String, dynamic> json) => AudioShapeSet(
    setId: (json['SetId'] as num?)?.toInt() ?? 0,
    name: (json['Name'] as String?) ?? '',
    shapeNames: (json['ShapeNames'] as List<dynamic>?)?.map((e) => (e as String?) ?? '').toList() ?? const [],
);