HandlerIdentity.fromJson constructor

HandlerIdentity.fromJson(
  1. Map<String, Object?> json
)

Deserializes from JSON.

Implementation

factory HandlerIdentity.fromJson(Map<String, Object?> json) {
  return HandlerIdentity(
    routeName: json['routeName'] as String?,
    functionRef: json['functionRef'] as String?,
    method: json['method'] as String?,
    path: json['path'] as String?,
    sourceFile: json['sourceFile'] as String?,
    sourceLine: json['sourceLine'] as int?,
    sourceColumn: json['sourceColumn'] as int?,
  );
}