This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { useState } from 'react'; | |
| export type RetryCallback<T> = (...args: any[]) => void | T | Promise<T>; | |
| function useRetry<T, E = any>(callback: RetryCallback<T>) { | |
| const [error, setError] = useState<E>(); | |
| const [retryCount, setRetryCount] = useState(0); | |
| function watchRetry(callback: RetryCallback<T>) { | |
| return async function (...args: any[]) { | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import 'package:flutter/material.dart'; | |
| final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { ObjectType, DeepPartial, EntityManager, Connection, FindConditions } from 'typeorm'; | |
| import { Injectable, Scope } from '@nestjs/common'; | |
| import { InjectConnection } from '@nestjs/typeorm'; | |
| import DataLoader from 'dataloader'; | |
| @Injectable({ scope: Scope.REQUEST }) | |
| export abstract class BaseService<M extends { id: string }> { | |
| abstract get type(): ObjectType<M>; | |
| protected loader: DataLoader<string, M>; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import 'package:flutter/material.dart'; | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | |
| Widget build(BuildContext context) { | |
| return MaterialApp( | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import 'package:mobx/mobx.dart'; | |
| part 'mainpage.controller.g.dart'; | |
| class ExampleModel { | |
| final String observacao; | |
| ExampleModel(this.observacao); | |
| } | |
| class MainPageController = _MainPageControllerBase with _$MainPageController; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | abstract class Test { | |
| final String value; | |
| Test(this.value); | |
| } | |
| abstract class Test2 { | |
| final String value; | |
| Test2(String i) : value = i; | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | abstract class Test<T> { | |
| Test(String a) {} | |
| } | |
| class Store {} | |
| class AppController = _AppControllerBase with Store; | |
| void main() { | |
| var a = B(inject()); | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import 'package:flutter/material.dart'; | |
| final Color darkBlue = Color.fromARGB(255, 18, 32, 47); | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | |
| @override | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import 'package:flutter/material.dart'; | |
| import 'dart:math' as Math; | |
| enum MarkerType { cross, circle, none } | |
| void main() { | |
| runApp(MyApp()); | |
| } | |
| class MyApp extends StatelessWidget { | 
NewerOlder