GoogleCastImage.fromJson constructor

GoogleCastImage.fromJson(
  1. String source
)

Creates a GoogleCastImage from a JSON string.

Implementation

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