SPSession.fromMap constructor

SPSession.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory SPSession.fromMap(Map<String, dynamic> map) {
  return SPSession(
    id: map['id'],
    title: map['title'],
  );
}