ActionPlaySound.fromJson constructor

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

Implementation

factory ActionPlaySound.fromJson(Map<String, dynamic> json) => ActionPlaySound(
    url: (json['Url'] as String?) ?? '',
    count: (json['Count'] as num?)?.toInt() ?? 0,
    id: (json['Id'] as String?) ?? '',
);