Skip to content

Instantly share code, notes, and snippets.

@ThomasLocke
Created July 26, 2014 07:34
Show Gist options
  • Save ThomasLocke/169a4d3026840465d78f to your computer and use it in GitHub Desktop.
Save ThomasLocke/169a4d3026840465d78f to your computer and use it in GitHub Desktop.
Google Cloud Datastore Dart example, entity data
final Map<String, client.Property> person =
{'name' : new client.Property.fromJson({'stringValue' : 'Thomas Løcke'}),
'website' : new client.Property.fromJson({'stringValue' : 'http://google.com/+ThomasLøcke'}),
'timestamp' : new client.Property.fromJson({'dateTimeValue' : timestamp})};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment