fromJson static method

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

Deserializes this result from JSON.

Implementation

static GetSemanticsIdResult fromJson(Map<String, dynamic> json) {
  return GetSemanticsIdResult(json['id'] as int);
}