Reaction.fromMap constructor

Reaction.fromMap(
  1. Map<String, dynamic> json
)

Implementation

Reaction.fromMap(Map<String, dynamic> json) {
  if (json != null) {
    usernames = List<String>.from(json['usernames']);
  }
}