UserVoiceVolumeEntity.fromJson constructor

UserVoiceVolumeEntity.fromJson(
  1. dynamic data
)

Implementation

UserVoiceVolumeEntity.fromJson(data) {
  Map<String, dynamic> json =
      data is Map ? data.cast<String, dynamic>() : jsonDecode(data);
  userId = json['userId'];
  volume = json['volume'];
}