FloatingPointList.fromJson constructor

FloatingPointList.fromJson(
  1. Map _json
)

Implementation

FloatingPointList.fromJson(core.Map _json)
    : this(
        elements: _json.containsKey('elements')
            ? (_json['elements'] as core.List)
                .map((value) => (value as core.num).toDouble())
                .toList()
            : null,
      );