PushMessageContentAudio.fromJson constructor

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

Parse from a json

Implementation

PushMessageContentAudio.fromJson(Map<String, dynamic> json) {
  this.audio = Audio.fromJson(json['audio'] ?? <String, dynamic>{});
  this.isPinned = json['is_pinned'];
}