PictureTile.fromJson constructor

PictureTile.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory PictureTile.fromJson(Map<String, dynamic> json) {
  return PictureTile(
    x: json['x'] as num,
    y: json['y'] as num,
    picture: json['picture'] as String,
  );
}