function example(obj: { prop: string | number }): string {
if (typeof obj.prop === 'string') {
mutatesProp(obj);
return obj.prop;
} else {
return "default";
}
import 'package:flutter/material.dart' | |
show | |
BuildContext, | |
Positioned, | |
Stack, | |
State, | |
StatefulComponent, | |
Text, | |
Widget, | |
runApp; |
This Gist is the draft document for the Tether Messaging Protocol implemented in the Tether package for Dart.
The Web is by definition a very connected platform. A device connected to the internet virtually has access to every other device on the web. There are multiple protocols that describe communications between these devices. For web pages, the dominating protocol is HTTP.
HTTP at the highest level is a standard for mapping resources and actions applied to those resources to a series of methods (GET, POST, PUT, PATCH, DELETE, OPTIONS and more) and URIs.
#sqljocky:sqljocky select example
Query a MySQL database with Dart and SQLJocky
Main library: sqljocky:sqljocky
Main element: conn.query
Gist: https://gist.github.com/scrivvysolutions/38bbf755fe6615a39463
Tags: SQLJocky