Demo entry 6742756



Submitted by anonymous on May 18, 2018 at 20:54
Language: Java. Code size: 357 Bytes.

class Post {
  final int userId;
  final int id;
  final String title;
  final String body;

  Post({this.userId,, this.title, this.body});

  factory Post.fromJson(Map<String, dynamic> json) {
    return new Post(
      userId: json['userId'],
      id: json['id'],
      title: json['title'],
      body: json['body'],

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).