MessagePinInfo.fromJson constructor

MessagePinInfo.fromJson(
  1. Map<String, dynamic> map
)

Implementation

factory MessagePinInfo.fromJson(Map<String, dynamic> map) {
  return MessagePinInfo(
    pinTime: map['pinTime'] as int,
    operatorId: map['operatorId'] as String,
  );
}