ListWatchesResponse.fromJson constructor

ListWatchesResponse.fromJson(
  1. Map json_
)

Implementation

ListWatchesResponse.fromJson(core.Map json_)
    : this(
        watches: json_.containsKey('watches')
            ? (json_['watches'] as core.List)
                .map((value) => Watch.fromJson(
                    value as core.Map<core.String, core.dynamic>))
                .toList()
            : null,
      );