OAuth2Disqus.fromMap constructor
Implementation
factory OAuth2Disqus.fromMap(
Map<String, dynamic> map,
) {
map = {
'\$id': "",
'enabled': false,
'publicKey': "",
'secretKey': "",
...map,
};
return OAuth2Disqus(
$id: map['\$id'].toString(),
enabled: map['enabled'],
publicKey: map['publicKey'].toString(),
secretKey: map['secretKey'].toString(),
);
}