UserActivityMessage.fromJson constructor

UserActivityMessage.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory UserActivityMessage.fromJson(Map<String, dynamic> json) {
  return UserActivityMessage(
    info: Info.fromJson(json['info']),
    content: json['content'] as String,
  );
}