ListVoicesResponse.fromJson constructor

ListVoicesResponse.fromJson(
  1. Map json_
)

Implementation

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