listFromJson static method

List<PeerAuthentication> listFromJson(
  1. Iterable<Map<String, dynamic>> list
)

Creates a list of PeerAuthentication from JSON data.

Implementation

static List<PeerAuthentication> listFromJson(
    Iterable<Map<String, dynamic>> list) {
  return list.map((e) => PeerAuthentication.fromJson(e)).toList();
}