fromJson static method

GoogleCastImage? fromJson(
  1. String source
)

Creates a GoogleCastImage from a JSON string.

Implementation

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