SessionDescription.fromMap constructor

SessionDescription.fromMap(
  1. dynamic map
)

Creates a SessionDescription basing on the Map received from the native side.

Implementation

SessionDescription.fromMap(dynamic map) {
  type = SessionDescriptionType.values[map['type']];
  description = map['description'];
}