fromJson static method
Implementation
static SupabaseAction fromJson(
Map<String, dynamic> json, ActionMapper mapper) =>
SelectSupabaseAction(
id: json['id'],
requestID: json['request_id'],
type: 'execute',
filters: SupabaseActionFieldEntity.fromJsonList(json['filters']),
actionsIfSuccess: (json['actions_if_success'] as List<dynamic>)
.map(
(e) => ActionEntity.fromJson(e as Map<String, dynamic>, mapper))
.toList(),
actionsIfError: (json['actions_if_error'] as List<dynamic>)
.map(
(e) => ActionEntity.fromJson(e as Map<String, dynamic>, mapper))
.toList(),
);