This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:'{name}'/src/custom/constants.dart'; // with constans | |
import 'package:sentry_flutter/sentry_flutter.dart'; | |
import 'package:'{name}'/src/models/user_model.dart' as UserSelected; ///Respective Model | |
identifyUser(UserSelected.User loggedUser) { | |
Sentry.configureScope((scope) { | |
//USER | |
scope.user = User( | |
id: '${loggedUser.rut}', | |
email: '${loggedUser.email}', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy to Github y Firebase | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"users":[{"_id":"5d9282393c9b8b6d48601f97","firstName":"Marilie","lastName":"Bogan","avatar":"https://s3.amazonaws.com/uifaces/faces/twitter/yalozhkin/128.jpg","__v":0},{"_id":"5d92823a3c9b8b6d48601f98","firstName":"Hayden","lastName":"Larkin","avatar":"https://s3.amazonaws.com/uifaces/faces/twitter/ernestsemerda/128.jpg","__v":0},{"_id":"5d92823a3c9b8b6d48601f99","firstName":"Amir","lastName":"Feeney","avatar":"https://s3.amazonaws.com/uifaces/faces/twitter/antongenkin/128.jpg","__v":0},{"_id":"5d92823a3c9b8b6d48601f9a","firstName":"Nigel","lastName":"Vandervort","avatar":"https://s3.amazonaws.com/uifaces/faces/twitter/plbabin/128.jpg","__v":0},{"_id":"5d92823a3c9b8b6d48601f9b","firstName":"Elyse","lastName":"Grimes","avatar":"https://s3.amazonaws.com/uifaces/faces/twitter/turkutuuli/128.jpg","__v":0},{"_id":"5d9282453c9b8b6d48601f9c","firstName":"Earnest","lastName":"Fadel","avatar":"https://s3.amazonaws.com/uifaces/faces/twitter/nessoila/128.jpg","__v":0},{"_id":"5d9282453c9b8b6d48601f9d","firstName":"Gui |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// A hack to copy a string to the clipboard. | |
bool _copyToClipboardHack(String text) { | |
final textarea = new TextAreaElement(); | |
document.body.append(textarea); | |
textarea.style.border = '0'; | |
textarea.style.margin = '0'; | |
textarea.style.padding = '0'; | |
textarea.style.opacity = '0'; | |
textarea.style.position = 'absolute'; | |
textarea.readOnly = true; |