CastMediaVolume.fromJson constructor

CastMediaVolume.fromJson(
  1. String source
)

Creates a CastMediaVolume from a JSON string.

source - The JSON string to create the instance from.

Implementation

factory CastMediaVolume.fromJson(String source) =>
    CastMediaVolume.fromMap(json.decode(source));