MapContent.fromJson constructor

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

Implementation

factory MapContent.fromJson(Map<String, dynamic> json) => MapContent(
      x: json['x'].toDouble(),
      y: json['y'].toDouble(),
      contentUuid: json['content_uuid'],
    );