SjChatDto.fromJson constructor

SjChatDto.fromJson(
  1. Map map
)

Implementation

SjChatDto.fromJson(Map map)
    : this._(
        map,
        id: map['id'],
        owner: map['owner'],
        name: map['name'],
        description: map['description'],
        pinned: (map['pinned'] as List?)?.cast(),
        avatar: map['avatar'],
        payload: (map['payload'] as Map?)?.cast(),
      );