PushMessageContentAudio.fromJson constructor

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

Parse from a json

Implementation

factory PushMessageContentAudio.fromJson(Map<String, dynamic> json) => PushMessageContentAudio(
  audio: json['audio'] == null ? null : Audio.fromJson(json['audio']),
  isPinned: json['is_pinned'],
);