Skip to content

Instantly share code, notes, and snippets.

View stradaroca's full-sized avatar

Abdías N. Estrada Roca stradaroca

View GitHub Profile
@Klerith
Klerith / snippets.json
Last active May 3, 2024 13:38
Dart Snippets
{
// Place your snippets for dart here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
@Klerith
Klerith / producto_model.dart
Created June 12, 2019 15:37
BeatsApp Parte 2: Provider y modelo
// To parse this JSON data, do
//
// final productoModel = productoModelFromJson(jsonString);
import 'dart:convert';
ProductoModel productoModelFromJson(String str) => ProductoModel.fromJson(json.decode(str));
String productoModelToJson(ProductoModel data) => json.encode(data.toJson());
@Klerith
Klerith / plugins.md
Last active August 21, 2024 13:56
Lista de plugins que uso en VSC