OAuth2Twitch.fromMap constructor

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

Implementation

factory OAuth2Twitch.fromMap(Map<String, dynamic> map) {
  return OAuth2Twitch(
    $id: map['\$id'].toString(),
    enabled: map['enabled'],
    clientId: map['clientId'].toString(),
    clientSecret: map['clientSecret'].toString(),
  );
}