TimedMetadataInsertion.fromJson constructor

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

Implementation

factory TimedMetadataInsertion.fromJson(Map<String, dynamic> json) {
  return TimedMetadataInsertion(
    id3Insertions: (json['id3Insertions'] as List?)
        ?.whereNotNull()
        .map((e) => Id3Insertion.fromJson(e as Map<String, dynamic>))
        .toList(),
  );
}