WatchSettings.fromJson constructor

WatchSettings.fromJson(
  1. Map json_
)

Implementation

WatchSettings.fromJson(core.Map json_)
    : this(
        backgroundColor: json_.containsKey('backgroundColor')
            ? json_['backgroundColor'] as core.String
            : null,
        featuredPlaylistId: json_.containsKey('featuredPlaylistId')
            ? json_['featuredPlaylistId'] as core.String
            : null,
        textColor: json_.containsKey('textColor')
            ? json_['textColor'] as core.String
            : null,
      );