SessionInfo.fromJson constructor

SessionInfo.fromJson(
  1. Map<String, Object?> json
)

Implementation

SessionInfo.fromJson(Map<String, Object?> json)
    : connections = ((v) => v != null
          ? (v as List)
              .map((v) => ConnectionInfo.fromJson(v as Map<String, Object?>))
              .toList()
          : null)(json['connections']);